Class: Otokonoramen500yen::Response

Inherits:
Object
  • Object
show all
Defined in:
lib/otokonoramen500yen.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(body, date, url) ⇒ Response

Returns a new instance of Response.



28
29
30
31
32
# File 'lib/otokonoramen500yen.rb', line 28

def initialize(body,date,url)
  @body = body
  @date = date
  @url = url
end

Instance Attribute Details

#bodyObject (readonly)

Returns the value of attribute body.



27
28
29
# File 'lib/otokonoramen500yen.rb', line 27

def body
  @body
end

#dateObject (readonly)

Returns the value of attribute date.



27
28
29
# File 'lib/otokonoramen500yen.rb', line 27

def date
  @date
end

#urlObject (readonly)

Returns the value of attribute url.



27
28
29
# File 'lib/otokonoramen500yen.rb', line 27

def url
  @url
end