module Xdelivery

Constants

VERSION

Public Class Methods

configure() { |self| ... } click to toggle source

Xdelivery.configure do |config|

config.open_timeout = 5
config.read_timeout = 5

end

# File lib/xdelivery.rb, line 44
def self.configure
  yield(self)
end
open_timeout() click to toggle source
# File lib/xdelivery.rb, line 24
def self.open_timeout
  @@open_timeout
end
open_timeout=(timeout) click to toggle source
# File lib/xdelivery.rb, line 28
def self.open_timeout=(timeout)
  @@open_timeout = timeout
end
read_timeout() click to toggle source
# File lib/xdelivery.rb, line 32
def self.read_timeout
  @@read_timeout
end
read_timeout=(timeout) click to toggle source
# File lib/xdelivery.rb, line 36
def self.read_timeout=(timeout)
  @@read_timeout = timeout
end

Public Instance Methods

url() click to toggle source
# File lib/xdelivery.rb, line 48
def url
  API::Base::BASE_URL
end