Class: Broke::Token

Inherits:
Broke
  • Object
show all
Defined in:
lib/broke/token.rb

Instance Method Summary collapse

Methods inherited from Broke

#charge, #pingback, #subscription, #token

Constructor Details

#initializeToken

Returns a new instance of Token.



3
# File 'lib/broke/token.rb', line 3

def initialize; end

Instance Method Details

#create(params) ⇒ Object



5
6
7
8
# File 'lib/broke/token.rb', line 5

def create params
  params[:public_key] = @@public_key
  post 'brick/token', params
end