Module: Fnsapi
- Defined in:
- lib/fnsapi.rb,
lib/fnsapi/ticket.rb,
lib/fnsapi/version.rb,
lib/fnsapi/kkt_concern.rb,
lib/fnsapi/kkt_service.rb,
lib/fnsapi/tmp_storage.rb,
lib/fnsapi/auth_service.rb,
lib/fnsapi/base_service.rb,
lib/fnsapi/configuration.rb,
lib/fnsapi/get_message_service.rb
Defined Under Namespace
Modules: KktConcern
Classes: AuthService, BaseService, Configuration, FieldNotSpecifiedError, GetMessageService, InvalidConfigurationError, KktService, NotImplementedError, RequestError, Ticket, TmpStorage
Constant Summary
collapse
- VERSION =
'1.1.1'
Class Method Summary
collapse
Class Method Details
.check_data(ticket, user_id = 'default_user') ⇒ Object
24
25
26
|
# File 'lib/fnsapi.rb', line 24
def check_data(ticket, user_id = 'default_user')
Fnsapi::KktService.new.check_data(ticket, user_id)
end
|
.configuration ⇒ Object
16
17
18
|
# File 'lib/fnsapi.rb', line 16
def configuration
@configuration ||= Configuration.new
end
|
20
21
22
|
# File 'lib/fnsapi.rb', line 20
def configure
yield(configuration)
end
|
.get_data(ticket, user_id = 'default_user') ⇒ Object
28
29
30
|
# File 'lib/fnsapi.rb', line 28
def get_data(ticket, user_id = 'default_user')
Fnsapi::KktService.new.get_data(ticket, user_id)
end
|