Class: Peddler::APIs::ProductPricing20220501::HttpStatusLine
- Inherits:
-
Data
- Object
- Data
- Peddler::APIs::ProductPricing20220501::HttpStatusLine
- Defined in:
- sig/peddler/apis/product_pricing_2022_05_01.rbs
Instance Attribute Summary collapse
-
#reason_phrase ⇒ String?
readonly
Returns the value of attribute reason_phrase.
-
#status_code ⇒ Integer?
readonly
Returns the value of attribute status_code.
Class Method Summary collapse
-
.[] ⇒ Object
-
.members ⇒ [ :reason_phrase, :status_code ]
-
.new ⇒ Object
-
.parse ⇒ Peddler::APIs::ProductPricing20220501::HttpStatusLine
Instance Method Summary collapse
-
#members ⇒ [ :reason_phrase, :status_code ]
-
#to_h ⇒ { reason_phrase: String?, status_code: Integer? }
Instance Attribute Details
#reason_phrase ⇒ String? (readonly)
Returns the value of attribute reason_phrase.
414 415 416 |
# File 'sig/peddler/apis/product_pricing_2022_05_01.rbs', line 414 def reason_phrase @reason_phrase end |
#status_code ⇒ Integer? (readonly)
Returns the value of attribute status_code.
415 416 417 |
# File 'sig/peddler/apis/product_pricing_2022_05_01.rbs', line 415 def status_code @status_code end |
Class Method Details
.[](reason_phrase:, status_code:) ⇒ Peddler::APIs::ProductPricing20220501::HttpStatusLine .[](arg0, arg1) ⇒ Peddler::APIs::ProductPricing20220501::HttpStatusLine
407 408 |
# File 'sig/peddler/apis/product_pricing_2022_05_01.rbs', line 407
def self.[]: (?reason_phrase: String?, ?status_code: Integer?) -> Peddler::APIs::ProductPricing20220501::HttpStatusLine
| (String?, Integer?) -> Peddler::APIs::ProductPricing20220501::HttpStatusLine
|
.members ⇒ [ :reason_phrase, :status_code ]
410 |
# File 'sig/peddler/apis/product_pricing_2022_05_01.rbs', line 410
def self.members: () -> [ :reason_phrase, :status_code ]
|
.new(reason_phrase:, status_code:) ⇒ Peddler::APIs::ProductPricing20220501::HttpStatusLine .new(arg0, arg1) ⇒ Peddler::APIs::ProductPricing20220501::HttpStatusLine
405 406 |
# File 'sig/peddler/apis/product_pricing_2022_05_01.rbs', line 405
def self.new: (?reason_phrase: String?, ?status_code: Integer?) -> Peddler::APIs::ProductPricing20220501::HttpStatusLine
| (String?, Integer?) -> Peddler::APIs::ProductPricing20220501::HttpStatusLine
|
.parse ⇒ Peddler::APIs::ProductPricing20220501::HttpStatusLine
412 |
# File 'sig/peddler/apis/product_pricing_2022_05_01.rbs', line 412
def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::ProductPricing20220501::HttpStatusLine
|
Instance Method Details
#members ⇒ [ :reason_phrase, :status_code ]
417 |
# File 'sig/peddler/apis/product_pricing_2022_05_01.rbs', line 417
def members: () -> [ :reason_phrase, :status_code ]
|
#to_h ⇒ { reason_phrase: String?, status_code: Integer? }
418 |
# File 'sig/peddler/apis/product_pricing_2022_05_01.rbs', line 418
def to_h: () -> { reason_phrase: String?, status_code: Integer? }
|