Sha256: 20b982da8cf1f2ed1cf688725907ce2869c86ad14da0b6871a9faa0abd16f87d

Contents?: true

Size: 350 Bytes

Versions: 4

Compression:

Stored size: 350 Bytes

Contents

module Baabedo
  module APIOperations
    module Create
      module ClassMethods
        def create(params={}, opts={})
          response, opts = request(:post, url, params, opts)
          Util.convert_to_api_object(response, opts)
        end
      end

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

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
baabedo-0.0.4 lib/baabedo/api_operations/create.rb
baabedo-0.0.3 lib/baabedo/api_operations/create.rb
baabedo-0.0.2 lib/baabedo/api_operations/create.rb
baabedo-0.0.1 lib/baabedo/api_operations/create.rb