Class: FakeChargify::CustomerRegistry

Inherits:
Object
  • Object
show all
Includes:
UrlParser
Defined in:
lib/fake_chargify/customer_registry.rb

Instance Method Summary collapse

Methods included from UrlParser

#get_id_from_uri

Instance Method Details

#repositoryObject



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

def repository
  @customers ||= []
end

#stub_requests!Object



12
13
14
15
16
17
# File 'lib/fake_chargify/customer_registry.rb', line 12

def stub_requests!
  stub_create!
  stub_update!
  stub_show!
  stub_lookup!
end