Class: Stew::Community::XmlClientResponseProfile
- Inherits:
-
Object
- Object
- Stew::Community::XmlClientResponseProfile
- Defined in:
- lib/stew/community/xml_client/xml_client_response_profile.rb
Overview
A profile response from the Xml Client
Instance Method Summary collapse
-
#initialize(response) ⇒ XmlClientResponseProfile
constructor
A new instance of XmlClientResponseProfile.
- #profile ⇒ Object
Constructor Details
#initialize(response) ⇒ XmlClientResponseProfile
Returns a new instance of XmlClientResponseProfile.
5 6 7 |
# File 'lib/stew/community/xml_client/xml_client_response_profile.rb', line 5 def initialize(response) @response = response end |
Instance Method Details
#profile ⇒ Object
9 10 11 |
# File 'lib/stew/community/xml_client/xml_client_response_profile.rb', line 9 def profile @response['profile'] end |