Sha256: cb5516f75156627d7f72199b767d01ca48868a30de019771ba24b825bb5756a0

Contents?: true

Size: 196 Bytes

Versions: 1

Compression:

Stored size: 196 Bytes

Contents

module Mousetrap
  class Customer < Resource
    def self.all
      get_resources 'customers'
    end
    
    def self.create(hash)
      post_resource 'customers', 'new', hash
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
hashrocket-mousetrap-0.1.1 lib/mousetrap/customer.rb