Class: RubyPushNotifications::WNS::WNSAccess::Response
- Inherits:
-
Object
- Object
- RubyPushNotifications::WNS::WNSAccess::Response
- Defined in:
- lib/ruby-push-notifications/wns/wns_access.rb
Overview
This class is responsible for structurize response from login WNS service
Instance Attribute Summary collapse
-
#response ⇒ OpenStruct
readonly
. Return structurized response.
Instance Method Summary collapse
-
#initialize(response) ⇒ Response
constructor
A new instance of Response.
Constructor Details
#initialize(response) ⇒ Response
Returns a new instance of Response.
18 19 20 |
# File 'lib/ruby-push-notifications/wns/wns_access.rb', line 18 def initialize(response) @response = structurize(response) end |
Instance Attribute Details
#response ⇒ OpenStruct (readonly)
Returns . Return structurized response.
16 17 18 |
# File 'lib/ruby-push-notifications/wns/wns_access.rb', line 16 def response @response end |