Sha256: f841750fa4c7bbfe31af5bb63b5182014382afd32fe2a3b8397e029b8d196d7c

Contents?: true

Size: 629 Bytes

Versions: 2

Compression:

Stored size: 629 Bytes

Contents

module Brightpearl
  class Config
    # Developer Account
    attr_accessor :dev_ref            # Developer ID
    attr_accessor :account            # Brightpearl account
    
    # Application specific
    attr_accessor :app_ref            # App ref
    attr_accessor :app_secret         # App secret
    attr_accessor :oauth_redirect_url # App authorized oauth redirect for app
    
    # Based on authentication process
    attr_accessor :token              # API token
    attr_accessor :api_domain         # API URL base. Depends on instance region. Obtained after auth process
    # attr_accessor :refresh_token
  end 
end 

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ruby-brightpearl-0.1.01 lib/brightpearl/config.rb
ruby-brightpearl-0.1.0 lib/brightpearl/config.rb