class ActionKitApi::Page

Please note that this class should almost never be directly called every ‘real’ page is a specific sub-page type that should extend this class. Please refer to the ActionKit API documentation for more information about pages

Attributes

canonical_url[RW]

Other/Active

custom_fields[RW]

Other/Active

goal[RW]

Other/Active

goal_type[RW]

Other/Active

hidden[RW]

Other/Active

hosted_with[RW]

Other/Active

id[RW]

Required

lang[RW]

Other/Active

list[RW]

Other/Active

multilingual_campaign[RW]

Other/Active

name[RW]

Required

required_fields[RW]

Other/Active

status[RW]

Other/Active

tags[RW]

Other/Active

title[RW]

Required

type[RW]

Required

url[RW]

Other/Active

Public Class Methods

new(*args) click to toggle source
Calls superclass method ActionKitApi::ApiDataModel::new
# File lib/action_kit_api/page.rb, line 19
def initialize(*args)
  @required_attrs ||= []
  @required_attrs.concat([:name, :title, :type])

  @read_only_attrs ||= []
  @read_only_attrs.concat([:hosted_with])

  super
end