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.
6 7 8 |
# File 'lib/intacct/authentication_methods/session.rb', line 6 def initialize(session_token) @session_token = session_token end |
Instance Method Details
#to_xml ⇒ Object
10 11 12 13 14 |
# File 'lib/intacct/authentication_methods/session.rb', line 10 def to_xml builder = Builder::XmlMarkup.new builder.sessionid @session_token end |