Questions tagged [service-object]

49 questions
0
votes
2 answers

Returning Invalid Models for Testing

I created a Service Object (http://railscasts.com/episodes/398-service-objects), which basically creates two models, A and B, sets up the association between them where B belongs to A, and returns A (which in turn you can access B via A given the…
darksky
  • 20,411
  • 61
  • 165
  • 254
-1
votes
1 answer

How to create a OPOS Service Object virtual printer - c#

I'm looking to build an OPOS Service Object (SO) virtual printer for a POS application to capture shopping receipts. If somebody could advise steps for how to create the Service Object would be greatly appreciated.
Shahryar Faraji
  • 119
  • 1
  • 2
  • 9
-1
votes
2 answers

How can we test kinvey-flex-sdk's locally?

As per my understanding, the service-objects that we are registering are invoked by kinvey collections only. Is there any way to test that locally ? I have written below code. var sdk = require('kinvey-flex-sdk'); const PORT = 8080; sdk.service({…
-3
votes
1 answer

How to access methods of a service from its calling activity?

I have a doubt regarding using service. Is it necessary to create an object of a service in order to start it or simply declaring a service variable is sufficient? I want to know that whether a service is started by creating its object or you need…
1 2 3
4