Class: Peddler::APIs::ProductPricing20220501::BatchRequest

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

#bodyHash[untyped, untyped]? (readonly)

Returns the value of attribute body.

Returns:

  • (Hash[untyped, untyped], nil)


14
15
16
# File 'sig/peddler/apis/product_pricing_2022_05_01.rbs', line 14

def body
  @body
end

#headersHash[untyped, untyped]? (readonly)

Returns the value of attribute headers.

Returns:

  • (Hash[untyped, untyped], nil)


15
16
17
# File 'sig/peddler/apis/product_pricing_2022_05_01.rbs', line 15

def headers
  @headers
end

#methodString (readonly)

Returns the value of attribute method.

Returns:

  • (String)


16
17
18
# File 'sig/peddler/apis/product_pricing_2022_05_01.rbs', line 16

def method
  @method
end

#uriString (readonly)

Returns the value of attribute uri.

Returns:

  • (String)


17
18
19
# File 'sig/peddler/apis/product_pricing_2022_05_01.rbs', line 17

def uri
  @uri
end

Class Method Details

.[](method:, uri:, body:, headers:) ⇒ Peddler::APIs::ProductPricing20220501::BatchRequest .[](arg0, arg1, arg2, arg3) ⇒ Peddler::APIs::ProductPricing20220501::BatchRequest

Overloads:



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

def self.[]: (method: String, uri: String, ?body: Hash[untyped, untyped]?, ?headers: Hash[untyped, untyped]?) -> Peddler::APIs::ProductPricing20220501::BatchRequest
| (String, String, Hash[untyped, untyped]?, Hash[untyped, untyped]?) -> Peddler::APIs::ProductPricing20220501::BatchRequest

.members[ :method, :uri, :body, :headers ]

Returns:

  • ([ :method, :uri, :body, :headers ])


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

def self.members: () -> [ :method, :uri, :body, :headers ]

.new(method:, uri:, body:, headers:) ⇒ Peddler::APIs::ProductPricing20220501::BatchRequest .new(arg0, arg1, arg2, arg3) ⇒ Peddler::APIs::ProductPricing20220501::BatchRequest

Overloads:



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

def self.new: (method: String, uri: String, ?body: Hash[untyped, untyped]?, ?headers: Hash[untyped, untyped]?) -> Peddler::APIs::ProductPricing20220501::BatchRequest
| (String, String, Hash[untyped, untyped]?, Hash[untyped, untyped]?) -> Peddler::APIs::ProductPricing20220501::BatchRequest

.parsePeddler::APIs::ProductPricing20220501::BatchRequest

Parameters:

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

Returns:



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

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

Instance Method Details

#members[ :method, :uri, :body, :headers ]

Returns:

  • ([ :method, :uri, :body, :headers ])


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

def members: () -> [ :method, :uri, :body, :headers ]

#to_h{ method: String, uri: String, body: Hash[untyped, untyped]?, headers: Hash[untyped, untyped]? }

Returns:

  • ({ method: String, uri: String, body: Hash[untyped, untyped]?, headers: Hash[untyped, untyped]? })


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

def to_h: () -> { method: String, uri: String, body: Hash[untyped, untyped]?, headers: Hash[untyped, untyped]? }