Class: Intacct::AuthenticationMethods::Session
- Inherits:
-
Object
- Object
- Intacct::AuthenticationMethods::Session
- Defined in:
- lib/intacct/authentication_methods/session.rb
Instance Method Summary collapse
-
#initialize(session_token) ⇒ Session
constructor
A new instance of Session.
- #to_xml ⇒ Object
Constructor Details
#initialize(session_token) ⇒ Session
Returns a new instance of Session.
8 9 10 |
# File 'lib/intacct/authentication_methods/session.rb', line 8 def initialize(session_token) @session_token = session_token end |
Instance Method Details
#to_xml ⇒ Object
12 13 14 15 16 |
# File 'lib/intacct/authentication_methods/session.rb', line 12 def to_xml builder = Builder::XmlMarkup.new builder.sessionid @session_token end |