Class: ChatWork::Message

Inherits:
Entity
  • Object
show all
Defined in:
lib/chatwork/message.rb

Constant Summary

Constants included from Operations

Operations::ACCEPT_PARAMS_ID

Instance Attribute Summary

Attributes inherited from Entity

#attributes

Attributes included from Operations

#assign_path

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from Entity

convert, #initialize

Methods included from Operations

#define_create, #define_get, #install_class_operations

Constructor Details

This class inherits a constructor from ChatWork::Entity

Class Method Details

.pathObject



5
6
7
# File 'lib/chatwork/message.rb', line 5

def self.path
  "/rooms/%d/messages"
end

Instance Method Details

#pathObject



9
10
11
# File 'lib/chatwork/message.rb', line 9

def path
  "/rooms/%d/messages"
end