Class: Apps::Adapters::Gmail::Markup::SaveAction

Inherits:
Action
  • Object
show all
Defined in:
lib/apps/adapters/gmail/markup/save_action.rb

Overview

Instance Attribute Summary collapse

Attributes inherited from Action

#handler_url

Instance Method Summary collapse

Methods inherited from Base

#initialize, #to_json, #type

Constructor Details

This class inherits a constructor from Apps::Adapters::Gmail::Markup::Base

Instance Attribute Details

#nameObject

Returns the value of attribute name.



11
12
13
# File 'lib/apps/adapters/gmail/markup/save_action.rb', line 11

def name
  @name
end

Instance Method Details

#as_jsonObject



13
14
15
16
17
# File 'lib/apps/adapters/gmail/markup/save_action.rb', line 13

def as_json
  prune super.merge(
    "name" => name
  )
end