Class: Peddler::APIs::ProductPricing20220501::HttpStatusLine

Inherits:
Data
  • Object
show all
Defined in:
sig/peddler/apis/product_pricing_2022_05_01.rbs

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#reason_phraseString? (readonly)

Returns the value of attribute reason_phrase.

Returns:

  • (String, nil)


397
398
399
# File 'sig/peddler/apis/product_pricing_2022_05_01.rbs', line 397

def reason_phrase
  @reason_phrase
end

#status_codeInteger? (readonly)

Returns the value of attribute status_code.

Returns:

  • (Integer, nil)


398
399
400
# File 'sig/peddler/apis/product_pricing_2022_05_01.rbs', line 398

def status_code
  @status_code
end

Class Method Details

.[](reason_phrase:, status_code:) ⇒ Peddler::APIs::ProductPricing20220501::HttpStatusLine .[](arg0, arg1) ⇒ Peddler::APIs::ProductPricing20220501::HttpStatusLine

Overloads:



390
391
# File 'sig/peddler/apis/product_pricing_2022_05_01.rbs', line 390

def self.[]: (?reason_phrase: String?, ?status_code: Integer?) -> Peddler::APIs::ProductPricing20220501::HttpStatusLine
| (String?, Integer?) -> Peddler::APIs::ProductPricing20220501::HttpStatusLine

.members[ :reason_phrase, :status_code ]

Returns:

  • ([ :reason_phrase, :status_code ])


393
# File 'sig/peddler/apis/product_pricing_2022_05_01.rbs', line 393

def self.members: () -> [ :reason_phrase, :status_code ]

.new(reason_phrase:, status_code:) ⇒ Peddler::APIs::ProductPricing20220501::HttpStatusLine .new(arg0, arg1) ⇒ Peddler::APIs::ProductPricing20220501::HttpStatusLine

Overloads:



388
389
# File 'sig/peddler/apis/product_pricing_2022_05_01.rbs', line 388

def self.new: (?reason_phrase: String?, ?status_code: Integer?) -> Peddler::APIs::ProductPricing20220501::HttpStatusLine
| (String?, Integer?) -> Peddler::APIs::ProductPricing20220501::HttpStatusLine

.parsePeddler::APIs::ProductPricing20220501::HttpStatusLine

Parameters:

  • (Hash[String | Symbol, untyped])
  • (Object)

Returns:



395
# File 'sig/peddler/apis/product_pricing_2022_05_01.rbs', line 395

def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::ProductPricing20220501::HttpStatusLine

Instance Method Details

#members[ :reason_phrase, :status_code ]

Returns:

  • ([ :reason_phrase, :status_code ])


400
# File 'sig/peddler/apis/product_pricing_2022_05_01.rbs', line 400

def members: () -> [ :reason_phrase, :status_code ]

#to_h{ reason_phrase: String?, status_code: Integer? }

Returns:

  • ({ reason_phrase: String?, status_code: Integer? })


401
# File 'sig/peddler/apis/product_pricing_2022_05_01.rbs', line 401

def to_h: () -> { reason_phrase: String?, status_code: Integer? }