Module: BrickFTP::RESTfulAPI::Command
- Included in:
- AddGroupMember, CompleteUpload, ContinueUpload, CopyFolder, CountFolderContents, CountUsers, CreateAPIKey, CreateBehavior, CreateBundle, CreateFolder, CreateGroup, CreateNotification, CreatePermission, CreatePublicKey, CreateUser, CreateUserInGroup, DeleteAPIKey, DeleteBehavior, DeleteBundle, DeleteFolder, DeleteGroup, DeleteNotification, DeletePermission, DeletePublicKey, DeleteUser, DownloadFile, GetAPIKey, GetBehavior, GetBundle, GetBundleZip, GetFileInBundle, GetFolderSize, GetGroup, GetPublicKey, GetSiteUsage, GetUser, ListAPIKeys, ListBehaviors, ListBundleContents, ListBundles, ListFolderBehaviors, ListFolders, ListGroups, ListNotifications, ListPermissions, ListPublicKeys, ListUsers, MoveFolder, RemoveGroupMember, RetrieveFileHistory, RetrieveFolderHistory, RetrieveLoginHistory, RetrieveSiteHistory, RetrieveUserHistory, SearchUser, StartUpload, UnlockUser, UpdateBehavior, UpdateGroup, UpdateGroupMember, UpdateUser, UploadFile
- Defined in:
- lib/brick_ftp/restful_api/command.rb
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(client) ⇒ Object
Initialize command.
Class Method Details
.included(klass) ⇒ Object
6 7 8 9 10 |
# File 'lib/brick_ftp/restful_api/command.rb', line 6 def self.included(klass) klass.class_eval do attr_reader :client end end |
Instance Method Details
#initialize(client) ⇒ Object
Initialize command.
16 17 18 |
# File 'lib/brick_ftp/restful_api/command.rb', line 16 def initialize(client) @client = client end |