Sha256: 0843a51c66075a9cfb5652817551055a5a0deeb98b30fdf10b78e2f846985716

Contents?: true

Size: 443 Bytes

Versions: 3

Compression:

Stored size: 443 Bytes

Contents

class Ey::Core::Client
  class Real
    def get_operational_contact(params={})
      id = params["id"]
      url = params["url"]

      request(
        :path => "/contacts/#{id}",
        :url  => url,
      )
    end
  end

  class Mock
    def get_operational_contact(params={})
      #response(
        #:body => { "contact" => self.find(:operational_contacts, resource_identity(params)) },
      #)
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
ey-core-3.6.6 lib/ey-core/requests/get_operational_contact.rb
ey-core-3.4.5 lib/ey-core/requests/get_operational_contact.rb
ey-core-3.6.5 lib/ey-core/requests/get_operational_contact.rb