Class: Balanced::ApiKey

Inherits:
Object
  • Object
show all
Includes:
HypermediaRegistry, Resource
Defined in:
lib/balanced/resources/api_key.rb

Overview

Your ApiKey is used to authenticate when performing operations on the Balanced API.

NOTE: Never give out or expose your ApiKey. You may POST to this endpoint to create new ApiKeys and then DELETE any old keys.

Instance Attribute Summary

Attributes included from Resource

#attributes, #href, #hyperlinks, #id, #links

Instance Method Summary collapse

Methods included from HypermediaRegistry

included

Methods included from Resource

#copy_from, #does_resource_respond_to?, #fetch, #hydrate, included, #initialize, #method_missing, #reload, #respond_to?, #respond_to_missing?, #sanitize, #unstore

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Balanced::Resource

Instance Method Details

#saveObject



15
16
17
18
# File 'lib/balanced/resources/api_key.rb', line 15

def save
  Balanced.configure nil
  super
end