interkassa 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,4 @@
1
+ *.gem
2
+ .bundle
3
+ Gemfile.lock
4
+ pkg/*
data/Gemfile ADDED
@@ -0,0 +1,4 @@
1
+ source "http://rubygems.org"
2
+
3
+ # Specify your gem's dependencies in interkassa.gemspec
4
+ gemspec
@@ -0,0 +1 @@
1
+ require 'bundler/gem_tasks'
@@ -0,0 +1,20 @@
1
+ # -*- encoding: utf-8 -*-
2
+ $:.push File.expand_path("../lib", __FILE__)
3
+ require "interkassa/version"
4
+
5
+ Gem::Specification.new do |s|
6
+ s.name = "interkassa"
7
+ s.version = Interkassa::VERSION
8
+ s.authors = ["Galanov Viacheslav"]
9
+ s.email = ["viacheslav@forcus.net"]
10
+ s.homepage = "http://www.forcus.net"
11
+ s.summary = %q{Interkassa billing API implementation in Ruby}
12
+ s.description = %q{Interkassa billing API implementation in Ruby}
13
+
14
+ s.rubyforge_project = "interkassa"
15
+
16
+ s.files = `git ls-files`.split("\n")
17
+ s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
18
+ s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
19
+ s.require_paths = ["lib"]
20
+ end
@@ -0,0 +1,16 @@
1
+ require "interkassa/version"
2
+ require 'interkassa/request'
3
+ require 'interkassa/response'
4
+ require 'interkassa/railtie' if defined?(Rails)
5
+
6
+ module Interkassa
7
+ INTERKASSA_API_VERSION = '1.2'
8
+ INTERKASSA_ENDPOINT_URL="http://www.interkassa.com/lib/payment.php"
9
+
10
+ @default_options = {}
11
+ class << self; attr_accessor :default_options; end
12
+
13
+ class Exception < ::Exception; end
14
+ class InvalidResponse < Exception; end
15
+ end
16
+
@@ -0,0 +1,3 @@
1
+ module Interkassa
2
+ VERSION = "0.0.1"
3
+ end
metadata ADDED
@@ -0,0 +1,70 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: interkassa
3
+ version: !ruby/object:Gem::Version
4
+ prerelease: false
5
+ segments:
6
+ - 0
7
+ - 0
8
+ - 1
9
+ version: 0.0.1
10
+ platform: ruby
11
+ authors:
12
+ - Galanov Viacheslav
13
+ autorequire:
14
+ bindir: bin
15
+ cert_chain: []
16
+
17
+ date: 2012-02-16 00:00:00 +02:00
18
+ default_executable:
19
+ dependencies: []
20
+
21
+ description: Interkassa billing API implementation in Ruby
22
+ email:
23
+ - viacheslav@forcus.net
24
+ executables: []
25
+
26
+ extensions: []
27
+
28
+ extra_rdoc_files: []
29
+
30
+ files:
31
+ - .gitignore
32
+ - Gemfile
33
+ - Rakefile
34
+ - interkassa.gemspec
35
+ - lib/interkassa.rb
36
+ - lib/interkassa/version.rb
37
+ has_rdoc: true
38
+ homepage: http://www.forcus.net
39
+ licenses: []
40
+
41
+ post_install_message:
42
+ rdoc_options: []
43
+
44
+ require_paths:
45
+ - lib
46
+ required_ruby_version: !ruby/object:Gem::Requirement
47
+ none: false
48
+ requirements:
49
+ - - ">="
50
+ - !ruby/object:Gem::Version
51
+ segments:
52
+ - 0
53
+ version: "0"
54
+ required_rubygems_version: !ruby/object:Gem::Requirement
55
+ none: false
56
+ requirements:
57
+ - - ">="
58
+ - !ruby/object:Gem::Version
59
+ segments:
60
+ - 0
61
+ version: "0"
62
+ requirements: []
63
+
64
+ rubyforge_project: interkassa
65
+ rubygems_version: 1.3.7
66
+ signing_key:
67
+ specification_version: 3
68
+ summary: Interkassa billing API implementation in Ruby
69
+ test_files: []
70
+