Class: GlossyApp::GlossyResponse

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(status, body) ⇒ GlossyResponse

Returns a new instance of GlossyResponse.



113
114
115
116
# File 'lib/glossyapp/session.rb', line 113

def initialize(status, body)
  @status = status
  @body = body
end

Instance Attribute Details

#bodyObject

Returns the value of attribute body.



111
112
113
# File 'lib/glossyapp/session.rb', line 111

def body
  @body
end

#statusObject

Returns the value of attribute status.



110
111
112
# File 'lib/glossyapp/session.rb', line 110

def status
  @status
end