Sha256: 14ebfc809e760bfca7544de535cacb49d5b1ecc04378cf3cec835d844734d81c

Contents?: true

Size: 427 Bytes

Versions: 2

Compression:

Stored size: 427 Bytes

Contents

module Fastbill
  module Automatic
    module Services
      module Setusagedata
        module ClassMethods

          def setusagedata(attributes)
            response = Fastbill::Automatic.request("#{self.name.split("::").last.downcase}.setusagedata", attributes)
            true
          end

          def self.included(base)
            base.extend(ClassMethods)
          end
        end
      end
    end
  end
end


Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
fastbill-automatic-0.0.4 lib/fastbill-automatic/services/setusagedata.rb
fastbill-automatic-0.0.3 lib/fastbill-automatic/services/setusagedata.rb