Class: Crowdin::Web::SendRequest
- Inherits:
-
Object
- Object
- Crowdin::Web::SendRequest
- Defined in:
- lib/crowdin-api/core/send_request.rb
Instance Attribute Summary collapse
-
#request ⇒ Object
readonly
Returns the value of attribute request.
Instance Method Summary collapse
-
#initialize(request, file_destination = nil) ⇒ SendRequest
constructor
A new instance of SendRequest.
- #perform ⇒ Object
Constructor Details
#initialize(request, file_destination = nil) ⇒ SendRequest
Returns a new instance of SendRequest.
8 9 10 11 12 |
# File 'lib/crowdin-api/core/send_request.rb', line 8 def initialize(request, file_destination = nil) @request = request @file_destination = file_destination @errors = [] end |
Instance Attribute Details
#request ⇒ Object (readonly)
Returns the value of attribute request.
6 7 8 |
# File 'lib/crowdin-api/core/send_request.rb', line 6 def request @request end |
Instance Method Details
#perform ⇒ Object
14 15 16 |
# File 'lib/crowdin-api/core/send_request.rb', line 14 def perform parse_response(process_request) end |