Sha256: 7e5dcb57399cf1702fa4accae6fcd8bfe562f50c463b1c922b9c298d7c2629dd

Contents?: true

Size: 421 Bytes

Versions: 2

Compression:

Stored size: 421 Bytes

Contents

module Fastbill
  module Automatic
    module Services
      module Changearticle
        module ClassMethods

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

        def self.included(base)
          base.extend(ClassMethods)
        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/changearticle.rb
fastbill-automatic-0.0.3 lib/fastbill-automatic/services/changearticle.rb