Class: Fastbound::Resources::Downloads
- Inherits:
-
Object
- Object
- Fastbound::Resources::Downloads
- Defined in:
- lib/fastbound/resources/downloads.rb
Instance Method Summary collapse
- #bound_book(params = {}) ⇒ Object
-
#initialize(client) ⇒ Downloads
constructor
A new instance of Downloads.
Constructor Details
#initialize(client) ⇒ Downloads
Returns a new instance of Downloads.
4 5 6 |
# File 'lib/fastbound/resources/downloads.rb', line 4 def initialize(client) @client = client end |
Instance Method Details
#bound_book(params = {}) ⇒ Object
8 9 10 |
# File 'lib/fastbound/resources/downloads.rb', line 8 def bound_book(params = {}) @client.post_binary("#{@client.base_path}/Downloads/BoundBook", params) end |