Session Management - Phiction/etapi GitHub Wiki
Create
Required parameters
:username
:password
Optional parameters
:api_method
: defaults to:xml
:use_s4
: defaults tofalse
etapi_session = ETAPI::Session.new(
:username => "[email protected]",
:password => "password",
:api_method => :soap,
:use_s4 => true
)