lib/pricehubble.rb in pricehubble-0.1.0 vs lib/pricehubble.rb in pricehubble-0.2.0

- old
+ new

@@ -23,10 +23,11 @@ # Top level elements autoload :Configuration, 'pricehubble/configuration' autoload :ConfigurationHandling, 'pricehubble/configuration_handling' autoload :Client, 'pricehubble/client' autoload :Identity, 'pricehubble/identity' + autoload :Instrumentation, 'pricehubble/instrumentation' # Entities autoload :BaseEntity, 'pricehubble/entity/base_entity' autoload :Authentication, 'pricehubble/entity/authentication' autoload :Valuation, 'pricehubble/entity/valuation' @@ -44,10 +45,15 @@ module Utils autoload :Decision, 'pricehubble/utils/decision' autoload :Bangers, 'pricehubble/utils/bangers' end + # Instrumentation + module Instrumentation + autoload :LogSubscriber, 'pricehubble/instrumentation/log_subscriber' + end + # Dedicated application HTTP (low level) client module Client # All our utilities used for the low level client module Utils autoload :Request, 'pricehubble/client/utils/request' @@ -98,6 +104,7 @@ # Include top-level features include PriceHubble::ConfigurationHandling include PriceHubble::Client include PriceHubble::Identity + include PriceHubble::Instrumentation end