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

Inherits:
Object
  • Object
show all
Defined in:
lib/convenient_service/examples/standard/v1/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.



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

def initialize(http_string:)
  @http_string = http_string
end

Instance Attribute Details

#http_stringObject (readonly)

Returns the value of attribute http_string.



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

def http_string
  @http_string
end

Instance Method Details

#to_sObject



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

def to_s
  http_string
end