Module: GoogleWallet

Defined in:
lib/google_wallet.rb,
lib/google_wallet/version.rb,
lib/google_wallet/configuration.rb,
lib/google_wallet/authentication.rb,
lib/google_wallet/resources/base.rb,
lib/google_wallet/operations/sign_objects.rb,
lib/google_wallet/resources/event_ticket/class.rb,
lib/google_wallet/resources/event_ticket/object.rb,
lib/google_wallet/operations/event_ticket/push_class.rb,
lib/google_wallet/operations/event_ticket/push_object.rb

Defined Under Namespace

Modules: Operations, Resources Classes: Authentication, Configuration, Error

Constant Summary collapse

VERSION =
"0.1.1"

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.configurationObject

Returns the value of attribute configuration.



19
20
21
# File 'lib/google_wallet.rb', line 19

def configuration
  @configuration
end

Class Method Details

.configure {|configuration| ... } ⇒ Object

Yields:



22
23
24
25
# File 'lib/google_wallet.rb', line 22

def self.configure
  self.configuration ||= Configuration.new
  yield(configuration)
end

.debug_mode?Boolean

Returns:

  • (Boolean)


31
32
33
# File 'lib/google_wallet.rb', line 31

def self.debug_mode?
  configuration.debug_mode
end

.loggerObject



27
28
29
# File 'lib/google_wallet.rb', line 27

def self.logger
  configuration.logger
end