Sha256: 4d3f59527a8784f218a59f12462e51b7f7dd21bb5874d27ca772c8a6834e4f8e

Contents?: true

Size: 371 Bytes

Versions: 18

Compression:

Stored size: 371 Bytes

Contents

module RestClient
  class Resource
    def get_options(additional_headers={}, &block)
      headers = (options[:headers] || {}).merge(additional_headers)
      Request.execute_options(options.merge(
                          :method => :options,
                          :url => url,
                          :headers => headers), &(block || @block))
    end
  end
end

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
haveapi-client-0.10.0 lib/restclient_ext/resource.rb
haveapi-client-0.9.0 lib/restclient_ext/resource.rb
haveapi-client-0.8.0 lib/restclient_ext/resource.rb
haveapi-client-0.7.1 lib/restclient_ext/resource.rb
haveapi-client-0.7.0 lib/restclient_ext/resource.rb
haveapi-client-0.6.0 lib/restclient_ext/resource.rb
haveapi-client-0.5.4 lib/restclient_ext/resource.rb
haveapi-client-0.5.3 lib/restclient_ext/resource.rb
haveapi-client-0.5.2 lib/restclient_ext/resource.rb
haveapi-client-0.5.1 lib/restclient_ext/resource.rb
haveapi-client-0.5.0 lib/restclient_ext/resource.rb
haveapi-client-0.4.2 lib/restclient_ext/resource.rb
haveapi-client-0.4.1 lib/restclient_ext/resource.rb
haveapi-client-0.4.0 lib/restclient_ext/resource.rb
haveapi-client-0.3.0 lib/restclient_ext/resource.rb
haveapi-client-0.2.0 lib/restclient_ext/resource.rb
haveapi-client-0.1.1 lib/restclient_ext/resource.rb
haveapi-client-0.1.0 lib/restclient_ext/resource.rb