Module: ShipStationRuby

Defined in:
lib/shipstation_ruby.rb,
lib/shipstation_ruby/client.rb,
lib/shipstation_ruby/collection.rb

Defined Under Namespace

Classes: AuthenticationError, Client, Collection, ConfigurationError, ShipStationRubyError

Constant Summary collapse

API_BASE =
"https://data.shipstation.com/1.1"

Class Attribute Summary collapse

Class Attribute Details

.passwordObject



25
26
27
28
29
# File 'lib/shipstation_ruby.rb', line 25

def password
  defined? @password and @password or raise(
    ConfigurationError, "ShipStationRuby password not configured"
  )
end

.usernameObject



18
19
20
21
22
# File 'lib/shipstation_ruby.rb', line 18

def username
  defined? @username and @username or raise(
    ConfigurationError, "ShipStationRuby username not configured"
  )
end