Sha256: 1dd553ed205ca6eabfbb785a1a4fff3be170febabbaeab826472f37cf53c4eba

Contents?: true

Size: 453 Bytes

Versions: 7

Compression:

Stored size: 453 Bytes

Contents

module Balanced

  # 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.
  class ApiKey

    include Balanced::Resource
    include Balanced::HypermediaRegistry

    define_hypermedia_types [:api_keys]

    def save
      Balanced.configure nil
      super
    end

  end

end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
balanced-1.2.1 lib/balanced/resources/api_key.rb
balanced-1.1.1 lib/balanced/resources/api_key.rb
balanced-1.1.0 lib/balanced/resources/api_key.rb
balanced-1.0.2 lib/balanced/resources/api_key.rb
balanced-1.0.1 lib/balanced/resources/api_key.rb
balanced-1.0 lib/balanced/resources/api_key.rb
balanced-1.0.beta1 lib/balanced/resources/api_key.rb