Sha256: bfe73ce27232f645e6aa282975bfdd8dc4b4cab7a48148642900bc3848c911ee

Contents?: true

Size: 277 Bytes

Versions: 1

Compression:

Stored size: 277 Bytes

Contents

module Tictail
  module Api
    module Card
      def post_card params
        raise InvalidParams.new('No store id spacified') unless params[:store_id]
        response = post("/v1/stores/#{params[:store_id]}/cards" , params)
        response.body
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
tictail-api-0.0.4 lib/tictail/api/card.rb