class ZendeskAppsSupport::Installation
Attributes
app_id[RW]
app_name[RW]
collapsible[RW]
created_at[RW]
enabled[RW]
id[RW]
plan[RW]
requirements[RW]
settings[RW]
updated_at[RW]
Public Class Methods
new(options)
click to toggle source
# File lib/zendesk_apps_support/installation.rb, line 8 def initialize(options) options.each do |k, v| public_send("#{k}=", v) end end
Public Instance Methods
to_json()
click to toggle source
# File lib/zendesk_apps_support/installation.rb, line 14 def to_json hash = {} instance_variables.each do |var| hash[var.to_s.sub('@', '')] = instance_variable_get var end hash.to_json end