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