Sha256: e126dfc6833f5930da7d3e64f03323177dddd21ec3a8cd583c77b23a1057a34e
Contents?: true
Size: 311 Bytes
Versions: 2
Compression:
Stored size: 311 Bytes
Contents
module AgraApi class Signature < Base attr_accessor :petition_id def base_path "/petitions/#{petition_id}/signatures" end def find_by_email(email_address) response = client.get_request("#{normalized_base_path}/lookup", email: email_address) response.body end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
agra_api-0.2.1 | lib/agra_api/signature.rb |
agra_api-0.2.0 | lib/agra_api/signature.rb |