Module: Cloudconvert
- Defined in:
- lib/cloudconvert.rb,
lib/cloudconvert/version.rb,
lib/cloudconvert/conversion.rb,
lib/cloudconvert/configuration.rb
Defined Under Namespace
Classes: Configuration, Conversion
Constant Summary collapse
- CONVERSION_URL =
Your code goes hereā¦
"https://api.cloudconvert.org/"
- API_KEY_ERROR =
"API Key cant be blank!"
- VERSION =
"0.0.5"
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.
14 15 16 |
# File 'lib/cloudconvert/configuration.rb', line 14 def configuration @configuration end |
Class Method Details
.configure {|configuration| ... } ⇒ Object
17 18 19 20 |
# File 'lib/cloudconvert/configuration.rb', line 17 def self.configure self.configuration ||= Configuration.new yield(configuration) if block_given? end |