Class: Google::Apis::BloggerV2::Post::Author::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

Overview

The creator's avatar.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ Image

Returns a new instance of Image.



931
932
933
# File 'lib/google/apis/blogger_v2/classes.rb', line 931

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

Instance Attribute Details

#urlString

The creator's avatar URL. Corresponds to the JSON property url

Returns:

  • (String)


929
930
931
# File 'lib/google/apis/blogger_v2/classes.rb', line 929

def url
  @url
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



936
937
938
# File 'lib/google/apis/blogger_v2/classes.rb', line 936

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