Module: Pupper
- Defined in:
- lib/pupper.rb,
lib/pupper/model.rb,
lib/pupper/backend.rb,
lib/pupper/version.rb,
lib/pupper/auditable.rb,
lib/pupper/parse_json.rb,
lib/pupper/api_associations.rb,
lib/pupper/trackable_attributes.rb
Defined Under Namespace
Modules: ApiAssociations, Auditable, Model, TrackableAttributes Classes: Backend, Config, ParseJson
Constant Summary collapse
- VERSION =
"0.2.2"
Class Method Summary collapse
-
.configure {|self.config| ... } ⇒ Object
Changes some of Pupper’s underlying assumptions such as the name of the ActiveRecord model used for auditing and the user agent passed into Faraday/Typhoeus.
Class Method Details
.configure {|self.config| ... } ⇒ Object
Changes some of Pupper’s underlying assumptions such as the name of the ActiveRecord model used for auditing and the user agent passed into Faraday/Typhoeus
21 22 23 24 |
# File 'lib/pupper.rb', line 21 def self.configure self.config ||= Config.new yield self.config end |