Class: Apps::Adapters::Gmail::Markup::Action
- Defined in:
- lib/apps/adapters/gmail/markup/action.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#handler_url ⇒ Object
Returns the value of attribute handler_url.
Instance Method Summary collapse
Methods inherited from Base
Constructor Details
This class inherits a constructor from Apps::Adapters::Gmail::Markup::Base
Instance Attribute Details
#handler_url ⇒ Object
Returns the value of attribute handler_url.
9 10 11 |
# File 'lib/apps/adapters/gmail/markup/action.rb', line 9 def handler_url @handler_url end |
Instance Method Details
#as_json ⇒ Object
11 12 13 14 15 16 17 18 |
# File 'lib/apps/adapters/gmail/markup/action.rb', line 11 def as_json prune super.merge( "handler" => { "@type" => "HttpActionHandler", "url" => handler_url } ) end |