Class: ActionKitRest::Client

Inherits:
API
  • Object
show all
Defined in:
lib/action_kit_rest/client.rb

Instance Method Summary collapse

Methods inherited from API

#default_options, #extract_data_from_params, #post_json_request, #put_json_request, #request_with_wrapper, #setup

Instance Method Details

#actionObject



18
19
20
# File 'lib/action_kit_rest/client.rb', line 18

def action
  @action ||= ActionKitRest::Action.new(client: self)
end

#import_pageObject



10
11
12
# File 'lib/action_kit_rest/client.rb', line 10

def import_page
  @import_page ||= ActionKitRest::Pages::ImportPage.new(client: self)
end

#listObject



26
27
28
# File 'lib/action_kit_rest/client.rb', line 26

def list
  @list ||= ActionKitRest::List.new(client: self)
end

#pageObject



6
7
8
# File 'lib/action_kit_rest/client.rb', line 6

def page
  @page ||= ActionKitRest::Page.new(client: self)
end

#signup_pageObject



14
15
16
# File 'lib/action_kit_rest/client.rb', line 14

def 
  @signup_page ||= ActionKitRest::Pages::SignupPage.new(client: self)
end

#tagObject



22
23
24
# File 'lib/action_kit_rest/client.rb', line 22

def tag
  @tag ||= ActionKitRest::Tag.new(client: self)
end

#userObject



30
31
32
# File 'lib/action_kit_rest/client.rb', line 30

def user
  @user ||= ActionKitRest::User.new(client: self)
end