Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
lobbyist-ruby / lib / lobbyist / email_key.rb
Size: Mime:
module Lobbyist
  class EmailKey < Lobbyist::Base
    
    attr_accessor :id, :key, :action, :emailable_id, :emailable_type, :accessed_at, :created_at, :updated_at
    
    def self.find_by_key(key)
      create_from_response(get("/v1/email_keys/find_by_key/#{key}.json"))
    end
    
  end
end