Class: PossibleEmail::Image

Inherits:
Object
  • Object
show all
Defined in:
lib/possible_email/profile/image.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(data) ⇒ Image

Returns a new instance of Image.



5
6
7
8
9
# File 'lib/possible_email/profile/image.rb', line 5

def initialize(data)
  @url = data['url']
  @service = data['service']
  @url_proxied = data['url_proxied']
end

Instance Attribute Details

#serviceObject (readonly)

Returns the value of attribute service.



3
4
5
# File 'lib/possible_email/profile/image.rb', line 3

def service
  @service
end

#urlObject (readonly)

Returns the value of attribute url.



3
4
5
# File 'lib/possible_email/profile/image.rb', line 3

def url
  @url
end

#url_proxiedObject (readonly)

Returns the value of attribute url_proxied.



3
4
5
# File 'lib/possible_email/profile/image.rb', line 3

def url_proxied
  @url_proxied
end