Module: IFormat::Client::Session

Included in:
IFormat::Client
Defined in:
lib/iformat/client/session.rb

Instance Method Summary collapse

Instance Method Details

#get_sessionObject



9
10
11
12
13
14
15
16
# File 'lib/iformat/client/session.rb', line 9

def get_session
  attrs = request(:get_session, {
      :username => username,
      :password => password
  })

  IFormat::Session.new(attrs)
end