lib/agra_api/client.rb in agra_api-0.1.1 vs lib/agra_api/client.rb in agra_api-0.2.0
- old
+ new
@@ -1,8 +1,12 @@
module AgraApi
class Client < Vertebrae::API
def organisation
- @user ||= AgraApi::Organisation.new(client: self)
+ @organisation ||= AgraApi::Organisation.new(client: self)
+ end
+
+ def signature(petition_id)
+ @signature ||= AgraApi::Signature.new(client: self, petition_id: petition_id)
end
def default_options
{
user_agent: 'AgraApi Gem',
\ No newline at end of file