ob 0.0.1.4 → 0.0.1.7

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: de62abdcb0f5213febc6e42c6fe3d55c01b6ae7b
4
- data.tar.gz: 83f66a9fe90becd7e6d2a285b95f8549bd48c714
3
+ metadata.gz: ef123f3be4d43544cce693faeacc22b411dba7d4
4
+ data.tar.gz: 27f31cb4461f79aeb13dc001402e786db40355ee
5
5
  SHA512:
6
- metadata.gz: 5ae05338ab2b75ec2b5db080b6d2de0f5f0e47fa140eee1c4432be5c54b7f00f85fe6b652fce2a7f5847be0f0a4953b5b1637d0bbcd5a6f43d8fc87492a9f4f9
7
- data.tar.gz: 0fa6d325efa307f79748f7acd636a2071a38ed96092aee1e7f394b547dc80558a644e2604d7b2a00ce7fed4ff386c0d40ab0d6d7b7aa43b6cc6d4c9a53850ed8
6
+ metadata.gz: 8f23695f70216637f41b272b60e60f8144fd1003cb465e7be20265ddcc9b6b4d193ce30435ce8ccec28989926de0b7cc3e4989997dd3a0dd58d6655f48104cc8
7
+ data.tar.gz: 35bd9033112bfbbf04d1d3e88cc9db6c43cf49a25f89c88945cb2eac661b5d6d84fe1a05b731d62da8da6f87d180ef06c360834323690e856db3602fa2dd2c7b
data/lib/ob.rb CHANGED
@@ -11,7 +11,7 @@ require "ob/resource"
11
11
  require "ob/product"
12
12
  require "ob/material_mgmt_storage_detail"
13
13
  require "ob/requestor"
14
- require "ob/pob_vistafacturasportal"
14
+ require "ob/pob_vista_facturas_portal"
15
15
 
16
16
  module Ob
17
17
  def self.api_base
@@ -2,5 +2,6 @@ module Ob
2
2
  class MaterialMgmtStorageDetail < Resource
3
3
  include Ob::Operations::Find
4
4
  include Ob::Operations::Where
5
+
5
6
  end
6
7
  end
@@ -0,0 +1,18 @@
1
+ module Ob
2
+ class PobVistaFacturasPortal
3
+ include Ob::Operations::Find
4
+ include Ob::Operations::Where
5
+
6
+ def self.url()
7
+ "/#{CGI.escape('POB_VistaFacturasPortal')}"
8
+ end
9
+ def url
10
+ return [self.class.url, id].join('/')
11
+ end
12
+ end
13
+ end
14
+ #Ob.api_base
15
+ #=> "http://ec2-54-237-28-95.compute-1.amazonaws.com/openbravo/org.openbravo.service.json.jsonrest/"
16
+ #irb(main):005:0> Ob.user="csalinas-tegik"
17
+ #=> "csalinas-tegik"
18
+ #irb(main):006:0> Ob.password="KopoTegik"
@@ -1,3 +1,3 @@
1
1
  module Ob
2
- VERSION = "0.0.1.4"
2
+ VERSION = "0.0.1.7"
3
3
  end
Binary file
Binary file
Binary file
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ob
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1.4
4
+ version: 0.0.1.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jesus Lerma Sanchez
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-01-22 00:00:00.000000000 Z
11
+ date: 2015-01-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -76,7 +76,7 @@ files:
76
76
  - lib/ob/operations/exec.rb
77
77
  - lib/ob/operations/find.rb
78
78
  - lib/ob/operations/where.rb
79
- - lib/ob/pob_vistafacturasportal.rb
79
+ - lib/ob/pob_vista_facturas_portal.rb
80
80
  - lib/ob/product.rb
81
81
  - lib/ob/requestor.rb
82
82
  - lib/ob/resource.rb
@@ -84,6 +84,9 @@ files:
84
84
  - ob-0.0.1.1.gem
85
85
  - ob-0.0.1.2.gem
86
86
  - ob-0.0.1.3.gem
87
+ - ob-0.0.1.4.gem
88
+ - ob-0.0.1.5.gem
89
+ - ob-0.0.1.6.gem
87
90
  - ob-0.0.1.gem
88
91
  - ob.gemspec
89
92
  homepage: ''
@@ -1,6 +0,0 @@
1
- module Ob
2
- class pob_vistafacturasportal < Resource
3
- include Ob::Operations::Find
4
- include Ob::Operations::Where
5
- end
6
- end