Module: StripeMock::RequestHandlers::AccountLinks

Included in:
Instance
Defined in:
lib/stripe_mock/request_handlers/account_links.rb

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.included(klass) ⇒ Object



5
6
7
# File 'lib/stripe_mock/request_handlers/account_links.rb', line 5

def AccountLinks.included(klass)
  klass.add_handler 'post /v1/account_links',      :new_account_link
end

Instance Method Details



9
10
11
12
# File 'lib/stripe_mock/request_handlers/account_links.rb', line 9

def (route, method_url, params, headers)
  route =~ method_url
  Data.(params)
end