Class: Vault::Request
- Inherits:
-
Object
- Object
- Vault::Request
- Includes:
- EncodePath
- Defined in:
- lib/vault/request.rb
Instance Attribute Summary collapse
-
#client ⇒ Object
readonly
Returns the value of attribute client.
Instance Method Summary collapse
-
#initialize(client) ⇒ Request
constructor
A new instance of Request.
- #inspect ⇒ String
- #to_s ⇒ String
Methods included from EncodePath
Constructor Details
#initialize(client) ⇒ Request
Returns a new instance of Request.
8 9 10 |
# File 'lib/vault/request.rb', line 8 def initialize(client) @client = client end |
Instance Attribute Details
#client ⇒ Object (readonly)
Returns the value of attribute client.
6 7 8 |
# File 'lib/vault/request.rb', line 6 def client @client end |
Instance Method Details
#inspect ⇒ String
18 19 20 |
# File 'lib/vault/request.rb', line 18 def inspect "#<#{self.class.name}:0x#{"%x" % (self.object_id << 1)}>" end |
#to_s ⇒ String
13 14 15 |
# File 'lib/vault/request.rb', line 13 def to_s "#<#{self.class.name}>" end |