Module: Issuu
- Defined in:
- lib/issuu.rb,
lib/issuu/cli.rb,
lib/issuu/folder.rb,
lib/issuu/bookmark.rb,
lib/issuu/document.rb,
lib/issuu/parameter_set.rb,
lib/issuu/issuu_exception_manager.rb
Defined Under Namespace
Classes: Bookmark, Cli, Document, Folder, IssuuException, IssuuExceptionManager, ParameterSet
Constant Summary collapse
- API_URL =
URI.parse('http://api.issuu.com/1_0')
- API_UPLOAD_URL =
URI.parse('http://upload.issuu.com/1_0')
Class Attribute Summary collapse
-
.api_key ⇒ Object
Returns the value of attribute api_key.
-
.secret ⇒ Object
Returns the value of attribute secret.
Class Method Summary collapse
Class Attribute Details
.api_key ⇒ Object
Returns the value of attribute api_key.
14 15 16 |
# File 'lib/issuu.rb', line 14 def api_key @api_key end |
.secret ⇒ Object
Returns the value of attribute secret.
14 15 16 |
# File 'lib/issuu.rb', line 14 def secret @secret end |
Class Method Details
.configure {|_self| ... } ⇒ Object
In your initializer: Issuu.configure do |c|
c.api_key = ENV['ISSUU_API_KEY']
c.secret = ENV['ISSUU_SECRET']
end
22 23 24 |
# File 'lib/issuu.rb', line 22 def configure yield self end |