Method: Joyent::Key#initialize
- Defined in:
- lib/joyent/key.rb
#initialize(connection, attributes) ⇒ Key
Returns a new instance of Key.
5 6 7 8 9 10 |
# File 'lib/joyent/key.rb', line 5 def initialize(connection, attributes) @connection = connection @name = attributes["name"] @key = attributes["key"] end |