Module: Model::Service
- Extended by:
- ActiveSupport::Concern
- Included in:
- Wechat::Service
- Defined in:
- app/models/wechat/model/service.rb
Instance Method Summary collapse
Instance Method Details
#content ⇒ Object
30 31 32 |
# File 'app/models/wechat/model/service.rb', line 30 def content {} end |
#do_send ⇒ Object
26 27 28 |
# File 'app/models/wechat/model/service.rb', line 26 def do_send agency.api. to_wechat end |
#to_wechat ⇒ Object
34 35 36 37 38 39 |
# File 'app/models/wechat/model/service.rb', line 34 def to_wechat { touser: open_id, msgtype: msgtype, }.merge! content end |