Class: Bkblz::V1::GetUploadPartUrlRequest
- Defined in:
- lib/bkblz/v1/get_upload_part_url.rb
Instance Method Summary collapse
- #build_request(session) ⇒ Object
-
#initialize(file_id) ⇒ GetUploadPartUrlRequest
constructor
A new instance of GetUploadPartUrlRequest.
Methods inherited from Request
response_class, #send, url_suffix
Constructor Details
#initialize(file_id) ⇒ GetUploadPartUrlRequest
Returns a new instance of GetUploadPartUrlRequest.
13 14 15 |
# File 'lib/bkblz/v1/get_upload_part_url.rb', line 13 def initialize(file_id) @body = {:file_id => file_id} end |
Instance Method Details
#build_request(session) ⇒ Object
17 18 19 |
# File 'lib/bkblz/v1/get_upload_part_url.rb', line 17 def build_request(session) session.create_post url(session), @body end |