Class: Privy::Authorization::WalletApiRequestSignatureInput
- Inherits:
-
Data
- Object
- Data
- Privy::Authorization::WalletApiRequestSignatureInput
- Defined in:
- lib/privy/authorization/authorization.rb
Instance Attribute Summary collapse
-
#body ⇒ Object
readonly
Returns the value of attribute body.
-
#headers ⇒ Object
readonly
Returns the value of attribute headers.
-
#method ⇒ Object
readonly
Returns the value of attribute method.
-
#url ⇒ Object
readonly
Returns the value of attribute url.
-
#version ⇒ Object
readonly
Returns the value of attribute version.
Class Method Summary collapse
Instance Attribute Details
#body ⇒ Object (readonly)
Returns the value of attribute body
23 24 25 |
# File 'lib/privy/authorization/authorization.rb', line 23 def body @body end |
#headers ⇒ Object (readonly)
Returns the value of attribute headers
23 24 25 |
# File 'lib/privy/authorization/authorization.rb', line 23 def headers @headers end |
#method ⇒ Object (readonly)
Returns the value of attribute method
23 24 25 |
# File 'lib/privy/authorization/authorization.rb', line 23 def method @method end |
#url ⇒ Object (readonly)
Returns the value of attribute url
23 24 25 |
# File 'lib/privy/authorization/authorization.rb', line 23 def url @url end |
#version ⇒ Object (readonly)
Returns the value of attribute version
23 24 25 |
# File 'lib/privy/authorization/authorization.rb', line 23 def version @version end |
Class Method Details
.build(method:, url:, body:, headers:) ⇒ Object
24 25 26 |
# File 'lib/privy/authorization/authorization.rb', line 24 def self.build(method:, url:, body:, headers:) new(version: 1, method: method.to_s.upcase, url: url, body: body, headers: headers.compact) end |