Module: Taggun
- Defined in:
- lib/taggun.rb,
lib/taggun/parser.rb,
lib/taggun/railtie.rb,
lib/taggun/version.rb,
lib/taggun/configuration.rb,
lib/taggun/acts_as_taggun.rb
Defined Under Namespace
Modules: ActsAsTaggun Classes: Configuration, Parser, Railtie
Constant Summary collapse
- BASE_URL =
The base taggun api URL
'https://api.taggun.io/api'.freeze
- API_VERSION =
The Api version to use
'v1'.freeze
- RECEIPT_URL =
URL for receipt actions
'receipt'.freeze
- ACCOUNT_URL =
URL for account actions
'account'.freeze
- FILE =
API endpoint to use file parsing
'file'.freeze
- ENCODED =
API endpoint to use encoded parsing
'encoded'.freeze
- STORAGE =
API endpoint to use storage parsing
'storage'.freeze
- URL =
API endpoint to use URL parsing
'url'.freeze
- SIMPLE =
API endpoint to get simple response
'simple'.freeze
- VERBOSE =
API endpoint to get detailed response
'verbose'.freeze
- VERSION =
'0.4.1'
Class Attribute Summary collapse
-
.configuration ⇒ Object
Returns the value of attribute configuration.
Class Method Summary collapse
Class Attribute Details
.configuration ⇒ Object
Returns the value of attribute configuration.
42 43 44 |
# File 'lib/taggun.rb', line 42 def configuration @configuration end |
Class Method Details
.configure {|configuration| ... } ⇒ Object
45 46 47 48 |
# File 'lib/taggun.rb', line 45 def self.configure self.configuration ||= Configuration.new yield(configuration) end |