Sha256: 24c58e26ab1547cb54069f74b211aa7973bf8f9ae02c4f4dfdd1432538f66226
Contents?: true
Size: 305 Bytes
Versions: 1
Compression:
Stored size: 305 Bytes
Contents
# frozen_string_literal: true module Bugscriber module Resources class Tracks < BaseResource def create(body) response = post_request('api/v1/tracks', body: body) puts 'Something goes wrong while connecting to bugscriber' unless response.success? end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
bugscriber-0.1.0 | lib/bugscriber/resources/tracks.rb |