Module: Bcash

Defined in:
lib/bcash.rb,
lib/bcash/client.rb,
lib/bcash/version.rb,
lib/bcash/exceptions.rb

Defined Under Namespace

Modules: Api, Helpers Classes: Client, InvalidAccount

Constant Summary collapse

VERSION =
"1.0.2"

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.emailObject

Returns the value of attribute email.



8
9
10
# File 'lib/bcash.rb', line 8

def email
  @email
end

.keyObject

Returns the value of attribute key.



8
9
10
# File 'lib/bcash.rb', line 8

def key
  @key
end

.sales_channelObject

Returns the value of attribute sales_channel.



8
9
10
# File 'lib/bcash.rb', line 8

def sales_channel
  @sales_channel
end

.tokenObject

Returns the value of attribute token.



8
9
10
# File 'lib/bcash.rb', line 8

def token
  @token
end

Class Method Details

.configure {|_self| ... } ⇒ Object

Yields:

  • (_self)

Yield Parameters:

  • _self (Bcash)

    the object that the method was called on



10
11
12
13
# File 'lib/bcash.rb', line 10

def configure
  yield self
  true
end