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.
5 6 7 |
# File 'lib/vault/request.rb', line 5 def initialize(client) @client = client end |
Instance Attribute Details
#client ⇒ Object (readonly)
Returns the value of attribute client.
3 4 5 |
# File 'lib/vault/request.rb', line 3 def client @client end |
Instance Method Details
#inspect ⇒ String
15 16 17 |
# File 'lib/vault/request.rb', line 15 def inspect "#<#{self.class.name}:0x#{"%x" % (self.object_id << 1)}>" end |
#to_s ⇒ String
10 11 12 |
# File 'lib/vault/request.rb', line 10 def to_s "#<#{self.class.name}>" end |