Class: ConvenientService::Examples::Standard::RequestParams::Entities::Request

Inherits:
Object
  • Object
show all
Defined in:
lib/convenient_service/examples/standard/request_params/entities/request.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(http_string:) ⇒ Request

Returns a new instance of Request.



11
12
13
# File 'lib/convenient_service/examples/standard/request_params/entities/request.rb', line 11

def initialize(http_string:)
  @http_string = http_string
end

Instance Attribute Details

#http_stringObject (readonly)

Returns the value of attribute http_string.



9
10
11
# File 'lib/convenient_service/examples/standard/request_params/entities/request.rb', line 9

def http_string
  @http_string
end

Instance Method Details

#to_sObject



15
16
17
# File 'lib/convenient_service/examples/standard/request_params/entities/request.rb', line 15

def to_s
  http_string
end