Class: Bkblz::V1::GetFileInfoRequest

Inherits:
Request
  • Object
show all
Defined in:
lib/bkblz/v1/get_file_info.rb

Instance Method Summary collapse

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