Sha256: 0bc6b2c6d62693ed72f288834af19c42b57cfc861e12f9cfd29f3cf5818c1ba8

Contents?: true

Size: 375 Bytes

Versions: 13

Compression:

Stored size: 375 Bytes

Contents

module Maestrano
  module Account
    class RecurringBill < Maestrano::API::Resource
      include Maestrano::API::Operation::List
      include Maestrano::API::Operation::Create

      def cancel
        response, api_token = Maestrano::API::Operation::Base.request(:delete, url, @api_token)
        refresh_from(response, api_token)
        self
      end
    end
  end
end

Version data entries

13 entries across 13 versions & 2 rubygems

Version Path
maestrano-0.11.0 lib/maestrano/account/recurring_bill.rb
maestrano-0.10.0 lib/maestrano/account/recurring_bill.rb
maestrano-0.9.2 lib/maestrano/account/recurring_bill.rb
maestrano-0.9.1 lib/maestrano/account/recurring_bill.rb
maestrano-0.9.0 lib/maestrano/account/recurring_bill.rb
maestrano-ruby-test-0.8.3 lib/maestrano/account/recurring_bill.rb
maestrano-0.8.2 lib/maestrano/account/recurring_bill.rb
maestrano-0.8.1 lib/maestrano/account/recurring_bill.rb
maestrano-0.8.0 lib/maestrano/account/recurring_bill.rb
maestrano-0.7.0 lib/maestrano/account/recurring_bill.rb
maestrano-0.6.0 lib/maestrano/account/recurring_bill.rb
maestrano-0.5.0 lib/maestrano/account/recurring_bill.rb
maestrano-0.4.0 lib/maestrano/account/recurring_bill.rb