Module: FedexLocationService
- Defined in:
- lib/fedex_location_service.rb,
lib/fedex_location_service/message.rb,
lib/fedex_location_service/request.rb,
lib/fedex_location_service/version.rb,
lib/fedex_location_service/response.rb,
lib/fedex_location_service/locations.rb,
lib/fedex_location_service/configuration.rb
Defined Under Namespace
Classes: Configuration, Locations, Message, Request, Response
Constant Summary
collapse
- VERSION =
'0.4.0'
Class Attribute Summary collapse
Class Method Summary
collapse
Class Attribute Details
.configuration ⇒ Object
15
16
17
|
# File 'lib/fedex_location_service.rb', line 15
def self.configuration
@configuration ||= Configuration.new
end
|
Class Method Details
23
24
25
|
# File 'lib/fedex_location_service.rb', line 23
def self.configure
yield(configuration)
end
|
.reset ⇒ Object
19
20
21
|
# File 'lib/fedex_location_service.rb', line 19
def self.reset
@configuration = Configuration.new
end
|
.root ⇒ Object
27
28
29
|
# File 'lib/fedex_location_service.rb', line 27
def self.root
Pathname.new File.expand_path('..', __dir__)
end
|