Sha256: 17c2704e1a0ff0b9e2ab527d9018c600bd7dffba984c9f906a950d666ede34a8
Contents?: true
Size: 487 Bytes
Versions: 1
Compression:
Stored size: 487 Bytes
Contents
require "rrd-track/client" require "rrd-track/configuration" require "rrd-track/version" module RRD class << self attr_writer :configuration def client @client ||= Client.new end def configuration @configuration ||= Configuration.new end def configure yield(configuration) end def track(tracking_number) client.request(RRD::Request::Tracking.new(tracking_number)) end alias_method :config, :configuration end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rrd-track-1.0.1 | lib/rrd-track.rb |