Sha256: f8140a6148cb857ea8582491a67f7dec48b1a9a4c3b6cc1f1b51030db9c69674

Contents?: true

Size: 634 Bytes

Versions: 2

Compression:

Stored size: 634 Bytes

Contents

module Xpanse2go
  autoload :Configuration, 'xpanse_2go/configuration'

  autoload :Order,        'xpanse_2go/order'
  autoload :Orders,       'xpanse_2go/orders'
  autoload :Address,      'xpanse_2go/address'
  autoload :Package,      'xpanse_2go/package'
  autoload :PackageItem,  'xpanse_2go/package_item'

  def self.configuration
    @configuration ||= Configuration.new
  end

  def self.configure
    yield configuration
  end

  def self.url
    if Xpanse2go.configuration.production
      'https://expressapps.2go.com.ph/2goweb/model/api'
    else
      'https://expressapps.2go.com.ph/2gowebdev/model/api'
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
xpanse_2go-0.1.3 lib/xpanse_2go.rb
xpanse_2go-0.1.2 lib/xpanse_2go.rb