Method: Twelve::API::Gauges::Shares#share
- Defined in:
- lib/twelve/api/gauges/shares.rb
#share(email) ⇒ Object
Shares a gauge with a person by their email
email - String of email address
Returns json
29 30 31 |
# File 'lib/twelve/api/gauges/shares.rb', line 29 def share(email) connection.post("#{path_prefix}/shares", email).body['share'] end |