Class: GmsFunctions_2

Inherits:
Object
  • Object
show all
Defined in:
lib/imperituroard.rb

Overview

2020.09.02 function for some procedure for get message status

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(gms_t_login, gms_t_password, gms_r_login, gms_r_password, telegram_api_url, telegram_chat_id) ⇒ GmsFunctions_2

Returns a new instance of GmsFunctions_2.



364
365
366
# File 'lib/imperituroard.rb', line 364

def initialize(, gms_t_password, , gms_r_password, telegram_api_url, telegram_chat_id)
  @gms_func = Gmsgms_2.new(, gms_t_password, , gms_r_password, telegram_api_url, telegram_chat_id)
end

Instance Attribute Details

#gms_funcObject

Returns the value of attribute gms_func.



362
363
364
# File 'lib/imperituroard.rb', line 362

def gms_func
  @gms_func
end

Instance Method Details

#get_r_status_external(external_id) ⇒ Object



372
373
374
# File 'lib/imperituroard.rb', line 372

def get_r_status_external(external_id)
  gms_func.get_r_status_external_2(external_id)
end

#get_t_status_external(external_id) ⇒ Object



368
369
370
# File 'lib/imperituroard.rb', line 368

def get_t_status_external(external_id)
  gms_func.get_t_status_external_2(external_id)
end