module Fastbill::Automatic::Services::Setusagedata::ClassMethods

Public Class Methods

included(base) click to toggle source
# File lib/fastbill-automatic/services/setusagedata.rb, line 12
def self.included(base)
  base.extend(ClassMethods)
end

Public Instance Methods

setusagedata(attributes) click to toggle source
# File lib/fastbill-automatic/services/setusagedata.rb, line 7
def setusagedata(attributes)
  response = Fastbill::Automatic.request("#{self.name.split("::").last.downcase}.setusagedata", attributes)
  true
end