Class: Otokonoramen500yen::Response
- Inherits:
-
Object
- Object
- Otokonoramen500yen::Response
- Defined in:
- lib/otokonoramen500yen.rb
Instance Attribute Summary collapse
-
#body ⇒ Object
readonly
Returns the value of attribute body.
-
#date ⇒ Object
readonly
Returns the value of attribute date.
-
#url ⇒ Object
readonly
Returns the value of attribute url.
Instance Method Summary collapse
-
#initialize(body, date, url) ⇒ Response
constructor
A new instance of Response.
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
#body ⇒ Object (readonly)
Returns the value of attribute body.
27 28 29 |
# File 'lib/otokonoramen500yen.rb', line 27 def body @body end |
#date ⇒ Object (readonly)
Returns the value of attribute date.
27 28 29 |
# File 'lib/otokonoramen500yen.rb', line 27 def date @date end |
#url ⇒ Object (readonly)
Returns the value of attribute url.
27 28 29 |
# File 'lib/otokonoramen500yen.rb', line 27 def url @url end |