Sha256: 58a6d4677bc25f067c251847558b354cfa38fabc9f08d83d37fa42dce791a616
Contents?: true
Size: 314 Bytes
Versions: 2
Compression:
Stored size: 314 Bytes
Contents
module ChatWork module Operations def install_class_operations(*operations) define_create if operations.include?(:create) end def define_create instance_eval do def create(params = {}) convert(ChatWork.client.post(path, params)) end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
chatwork-0.0.2 | lib/chatwork/operations.rb |
chatwork-0.0.1 | lib/chatwork/operations.rb |