Sha256: 92dfe97ae9adb5fe87d23787f92434fdb78d258527e263c54582a01a1c696f19

Contents?: true

Size: 295 Bytes

Versions: 5

Compression:

Stored size: 295 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.except(:store_id))
        response.body
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
tictail-api-0.1.3 lib/tictail/api/card.rb
tictail-api-0.1.2 lib/tictail/api/card.rb
tictail-api-0.1.1 lib/tictail/api/card.rb
tictail-api-0.0.6 lib/tictail/api/card.rb
tictail-api-0.0.5 lib/tictail/api/card.rb