Sha256: 9d3e97eb8871e3d92c54ec7f0000114e541548e948964549278bde11037e5375

Contents?: true

Size: 364 Bytes

Versions: 3

Compression:

Stored size: 364 Bytes

Contents

class Ey::Core::Client::Providers < Ey::Core::Collection

  model Ey::Core::Client::Provider

  self.model_root         = "provider"
  self.model_request      = :get_provider
  self.collection_root    = "providers"
  self.collection_request = :get_providers

  def create!(params)
    params[:collection_url] = self.url
    super(params)
  end

end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
ey-core-3.6.6 lib/ey-core/collections/providers.rb
ey-core-3.4.5 lib/ey-core/collections/providers.rb
ey-core-3.6.5 lib/ey-core/collections/providers.rb