Class: Google::Apis::BloggerV2::Post::Image

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/blogger_v2/classes.rb,
lib/google/apis/blogger_v2/representations.rb,
lib/google/apis/blogger_v2/representations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ Image

Returns a new instance of Image.



970
971
972
# File 'lib/google/apis/blogger_v2/classes.rb', line 970

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#urlString

Corresponds to the JSON property url

Returns:

  • (String)


968
969
970
# File 'lib/google/apis/blogger_v2/classes.rb', line 968

def url
  @url
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



975
976
977
# File 'lib/google/apis/blogger_v2/classes.rb', line 975

def update!(**args)
  @url = args[:url] if args.key?(:url)
end