Sha256: 14b44ec12c18b363e3a0c6dcf245e417e9d5cc9f84034f7e137252eec3a92208

Contents?: true

Size: 272 Bytes

Versions: 3

Compression:

Stored size: 272 Bytes

Contents

# frozen_string_literal: true

module Helio
  module APIOperations
    module Create
      def create(params = {}, opts = {})
        resp, opts = request(:post, resource_url, params, opts)
        Util.convert_to_helio_object(resp.data, opts)
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
helio-ruby-0.3.1 lib/helio/api_operations/create.rb
helio-ruby-0.3.0 lib/helio/api_operations/create.rb
helio-ruby-0.2.0 lib/helio/api_operations/create.rb