Class: Labelary::Configuration
- Inherits:
-
Object
- Object
- Labelary::Configuration
- Defined in:
- lib/labelary/configuration.rb
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
27 28 29 30 31 32 33 34 35 36 37 |
# File 'lib/labelary/configuration.rb', line 27 def initialize @url = 'http://api.labelary.com' @http_adapter = Faraday.default_adapter @api_key = nil @dpmm = nil @width = nil @height = nil @index = '' @content_type = 'image/png' @font = '' end |