class Nibo::Account

Public Class Methods

object_param(param, method) click to toggle source
# File lib/nibo/account.rb, line 21
def self.object_param(param, method)
  case method
    when :get, :delete
      {accountId: param}
    when :post
      param
  end
end
url_method(method) click to toggle source
# File lib/nibo/account.rb, line 9
def self.url_method(method)
  case method
    when :get
      '/GetAccount'
    when :post
      '/CreateAccount'
    when :delete
      '/DeleteAccount'
  end

end