Class: Merge::Filestorage::Client

Inherits:
Object
  • Object
show all
Defined in:
lib/merge_ruby_client/filestorage/client.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(request_client:) ⇒ Merge::Filestorage::Client

Parameters:



77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
# File 'lib/merge_ruby_client/filestorage/client.rb', line 77

def initialize(request_client:)
  @account_details = Merge::Filestorage::AccountDetailsClient.new(request_client: request_client)
  @account_token = Merge::Filestorage::AccountTokenClient.new(request_client: request_client)
  @async_passthrough = Merge::Filestorage::AsyncPassthroughClient.new(request_client: request_client)
  @audit_trail = Merge::Filestorage::AuditTrailClient.new(request_client: request_client)
  @available_actions = Merge::Filestorage::AvailableActionsClient.new(request_client: request_client)
  @scopes = Merge::Filestorage::ScopesClient.new(request_client: request_client)
  @delete_account = Merge::Filestorage::DeleteAccountClient.new(request_client: request_client)
  @drives = Merge::Filestorage::DrivesClient.new(request_client: request_client)
  @field_mapping = Merge::Filestorage::FieldMappingClient.new(request_client: request_client)
  @files = Merge::Filestorage::FilesClient.new(request_client: request_client)
  @folders = Merge::Filestorage::FoldersClient.new(request_client: request_client)
  @generate_key = Merge::Filestorage::GenerateKeyClient.new(request_client: request_client)
  @groups = Merge::Filestorage::GroupsClient.new(request_client: request_client)
  @issues = Merge::Filestorage::IssuesClient.new(request_client: request_client)
  @link_token = Merge::Filestorage::LinkTokenClient.new(request_client: request_client)
  @linked_accounts = Merge::Filestorage::LinkedAccountsClient.new(request_client: request_client)
  @passthrough = Merge::Filestorage::PassthroughClient.new(request_client: request_client)
  @regenerate_key = Merge::Filestorage::RegenerateKeyClient.new(request_client: request_client)
  @sync_status = Merge::Filestorage::SyncStatusClient.new(request_client: request_client)
  @force_resync = Merge::Filestorage::ForceResyncClient.new(request_client: request_client)
  @users = Merge::Filestorage::UsersClient.new(request_client: request_client)
  @webhook_receivers = Merge::Filestorage::WebhookReceiversClient.new(request_client: request_client)
end

Instance Attribute Details

#account_detailsMerge::Filestorage::AccountDetailsClient (readonly)



31
32
33
# File 'lib/merge_ruby_client/filestorage/client.rb', line 31

def 
  @account_details
end

#account_tokenMerge::Filestorage::AccountTokenClient (readonly)



33
34
35
# File 'lib/merge_ruby_client/filestorage/client.rb', line 33

def 
  @account_token
end

#async_passthroughMerge::Filestorage::AsyncPassthroughClient (readonly)



35
36
37
# File 'lib/merge_ruby_client/filestorage/client.rb', line 35

def async_passthrough
  @async_passthrough
end

#audit_trailMerge::Filestorage::AuditTrailClient (readonly)



37
38
39
# File 'lib/merge_ruby_client/filestorage/client.rb', line 37

def audit_trail
  @audit_trail
end

#available_actionsMerge::Filestorage::AvailableActionsClient (readonly)



39
40
41
# File 'lib/merge_ruby_client/filestorage/client.rb', line 39

def available_actions
  @available_actions
end

#delete_accountMerge::Filestorage::DeleteAccountClient (readonly)



43
44
45
# File 'lib/merge_ruby_client/filestorage/client.rb', line 43

def 
  @delete_account
end

#drivesMerge::Filestorage::DrivesClient (readonly)



45
46
47
# File 'lib/merge_ruby_client/filestorage/client.rb', line 45

def drives
  @drives
end

#field_mappingMerge::Filestorage::FieldMappingClient (readonly)



47
48
49
# File 'lib/merge_ruby_client/filestorage/client.rb', line 47

def field_mapping
  @field_mapping
end

#filesMerge::Filestorage::FilesClient (readonly)



49
50
51
# File 'lib/merge_ruby_client/filestorage/client.rb', line 49

def files
  @files
end

#foldersMerge::Filestorage::FoldersClient (readonly)



51
52
53
# File 'lib/merge_ruby_client/filestorage/client.rb', line 51

def folders
  @folders
end

#force_resyncMerge::Filestorage::ForceResyncClient (readonly)



69
70
71
# File 'lib/merge_ruby_client/filestorage/client.rb', line 69

def force_resync
  @force_resync
end

#generate_keyMerge::Filestorage::GenerateKeyClient (readonly)



53
54
55
# File 'lib/merge_ruby_client/filestorage/client.rb', line 53

def generate_key
  @generate_key
end

#groupsMerge::Filestorage::GroupsClient (readonly)



55
56
57
# File 'lib/merge_ruby_client/filestorage/client.rb', line 55

def groups
  @groups
end

#issuesMerge::Filestorage::IssuesClient (readonly)



57
58
59
# File 'lib/merge_ruby_client/filestorage/client.rb', line 57

def issues
  @issues
end


59
60
61
# File 'lib/merge_ruby_client/filestorage/client.rb', line 59

def link_token
  @link_token
end

#linked_accountsMerge::Filestorage::LinkedAccountsClient (readonly)



61
62
63
# File 'lib/merge_ruby_client/filestorage/client.rb', line 61

def linked_accounts
  @linked_accounts
end

#passthroughMerge::Filestorage::PassthroughClient (readonly)



63
64
65
# File 'lib/merge_ruby_client/filestorage/client.rb', line 63

def passthrough
  @passthrough
end

#regenerate_keyMerge::Filestorage::RegenerateKeyClient (readonly)



65
66
67
# File 'lib/merge_ruby_client/filestorage/client.rb', line 65

def regenerate_key
  @regenerate_key
end

#scopesMerge::Filestorage::ScopesClient (readonly)



41
42
43
# File 'lib/merge_ruby_client/filestorage/client.rb', line 41

def scopes
  @scopes
end

#sync_statusMerge::Filestorage::SyncStatusClient (readonly)



67
68
69
# File 'lib/merge_ruby_client/filestorage/client.rb', line 67

def sync_status
  @sync_status
end

#usersMerge::Filestorage::UsersClient (readonly)



71
72
73
# File 'lib/merge_ruby_client/filestorage/client.rb', line 71

def users
  @users
end

#webhook_receiversMerge::Filestorage::WebhookReceiversClient (readonly)



73
74
75
# File 'lib/merge_ruby_client/filestorage/client.rb', line 73

def webhook_receivers
  @webhook_receivers
end