Module: SpreePacketa
- Defined in:
- lib/spree_packeta.rb,
lib/spree_packeta/engine.rb,
lib/spree_packeta/version.rb,
lib/spree_packeta/soap/client.rb,
lib/spree_packeta/configuration.rb,
lib/spree_packeta/soap/operations.rb,
lib/spree_packeta/services/tracker.rb,
lib/spree_packeta/models/shipping_method.rb,
lib/spree_packeta/services/packet_creator.rb,
app/decorators/spree_packeta/order_decorator.rb,
lib/spree_packeta/models/shipping_calculator.rb,
lib/generators/spree_packeta/install_generator.rb,
app/decorators/spree_packeta/shipment_decorator.rb
Defined Under Namespace
Modules: Generators, Models, OrderDecorator, Services, ShipmentDecorator, Soap
Classes: ApiError, AuthenticationError, Configuration, Engine, Error, NetworkError, NotFoundError, ValidationError
Constant Summary
collapse
- VERSION =
'0.1.1'.freeze
Class Attribute Summary collapse
Class Method Summary
collapse
Class Attribute Details
.configuration ⇒ Object
43
44
45
|
# File 'lib/spree_packeta/configuration.rb', line 43
def configuration
@configuration ||= Configuration.new
end
|
Class Method Details
47
48
49
|
# File 'lib/spree_packeta/configuration.rb', line 47
def configure
yield(configuration)
end
|
.reset_configuration! ⇒ Object
51
52
53
|
# File 'lib/spree_packeta/configuration.rb', line 51
def reset_configuration!
@configuration = Configuration.new
end
|