simple_forex 0.1.3 → 0.1.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (59) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +48 -27
  3. data/lib/doc/CreateCurrencies.html +137 -0
  4. data/lib/doc/Object.html +114 -0
  5. data/lib/doc/SimpleForex/Currency.html +99 -0
  6. data/lib/doc/SimpleForex/Error.html +97 -0
  7. data/lib/doc/SimpleForex/Railtie.html +97 -0
  8. data/lib/doc/SimpleForex.html +254 -0
  9. data/lib/doc/SimpleForexGenerator.html +137 -0
  10. data/lib/doc/created.rid +8 -0
  11. data/lib/doc/css/fonts.css +167 -0
  12. data/lib/doc/css/rdoc.css +639 -0
  13. data/lib/doc/fonts/Lato-Light.ttf +0 -0
  14. data/lib/doc/fonts/Lato-LightItalic.ttf +0 -0
  15. data/lib/doc/fonts/Lato-Regular.ttf +0 -0
  16. data/lib/doc/fonts/Lato-RegularItalic.ttf +0 -0
  17. data/lib/doc/fonts/SourceCodePro-Bold.ttf +0 -0
  18. data/lib/doc/fonts/SourceCodePro-Regular.ttf +0 -0
  19. data/lib/doc/images/add.png +0 -0
  20. data/lib/doc/images/arrow_up.png +0 -0
  21. data/lib/doc/images/brick.png +0 -0
  22. data/lib/doc/images/brick_link.png +0 -0
  23. data/lib/doc/images/bug.png +0 -0
  24. data/lib/doc/images/bullet_black.png +0 -0
  25. data/lib/doc/images/bullet_toggle_minus.png +0 -0
  26. data/lib/doc/images/bullet_toggle_plus.png +0 -0
  27. data/lib/doc/images/date.png +0 -0
  28. data/lib/doc/images/delete.png +0 -0
  29. data/lib/doc/images/find.png +0 -0
  30. data/lib/doc/images/loadingAnimation.gif +0 -0
  31. data/lib/doc/images/macFFBgHack.png +0 -0
  32. data/lib/doc/images/package.png +0 -0
  33. data/lib/doc/images/page_green.png +0 -0
  34. data/lib/doc/images/page_white_text.png +0 -0
  35. data/lib/doc/images/page_white_width.png +0 -0
  36. data/lib/doc/images/plugin.png +0 -0
  37. data/lib/doc/images/ruby.png +0 -0
  38. data/lib/doc/images/tag_blue.png +0 -0
  39. data/lib/doc/images/tag_green.png +0 -0
  40. data/lib/doc/images/transparent.png +0 -0
  41. data/lib/doc/images/wrench.png +0 -0
  42. data/lib/doc/images/wrench_orange.png +0 -0
  43. data/lib/doc/images/zoom.png +0 -0
  44. data/lib/doc/index.html +94 -0
  45. data/lib/doc/js/darkfish.js +84 -0
  46. data/lib/doc/js/navigation.js +105 -0
  47. data/lib/doc/js/navigation.js.gz +0 -0
  48. data/lib/doc/js/search.js +110 -0
  49. data/lib/doc/js/search_index.js +1 -0
  50. data/lib/doc/js/search_index.js.gz +0 -0
  51. data/lib/doc/js/searcher.js +229 -0
  52. data/lib/doc/js/searcher.js.gz +0 -0
  53. data/lib/doc/simple_forex/tasks/simple_forex_rake.html +153 -0
  54. data/lib/doc/table_of_contents.html +101 -0
  55. data/lib/simple_forex/version.rb +1 -1
  56. data/lib/simple_forex.rb +92 -2
  57. metadata +69 -5
  58. data/lib/easy_money.rb +0 -109
  59. data/lib/simple_forex/.DS_Store +0 -0
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b7f8fe0b066cf31095f691d59a2de93f598c8dfb451d50c7cd8f5db32db5220d
4
- data.tar.gz: 4ded0bbeac22ede49e1710c3ebb7d68e85837aad215c596a9f743b285006e6b8
3
+ metadata.gz: 219ceb3f562efe60fe2ef6acfe7ccc508dfb873d2d6e77b69628406e32add8d2
4
+ data.tar.gz: 1d6657f7b100388d7b30595be3691e78185c19cb6889f5f5f7bf9a9683fd0836
5
5
  SHA512:
6
- metadata.gz: 14fca18d0274872d468a095784e38e2d8f95371dcaa7477f8946614b2be051abb26f00a5064915a509d932fd24eee796d37a438fc440bf5eab5197c61de07706
7
- data.tar.gz: 48f47f757fedbda7419d0eda29ce63cdcd853069742e6f18cb8d9a816c129f2be3b1d5701f65032935055c4207e06db6081ef6da3a0118947a01be543e10e700
6
+ metadata.gz: c0c71fc05cd97fff4860a5b59324e6436e06204435f4612e545d6875731995c8db4737b6a1fd86ba41c65a60fd91bd9b25402ab5f212815f33aabd598a74db6e
7
+ data.tar.gz: 5b6219904cd741b08cbf7fdad58886bfc30d85ebaa7bb7ce38e305bc73b26a213485a95e7ff4cc94baa71293153b458e64edfa17317dfe3225b193f4ca7de469
data/README.md CHANGED
@@ -1,64 +1,87 @@
1
1
  # SimpleForex
2
2
 
3
- The goal of the simple_forex gem is to help you quickly:
3
+ This ruby gem lets you fetch exchange rates for ~170 currencies (a total of ~14,000 imputed currency pairs) for free, on an hourly frequently (sufficient for most, but not all, use cases), and takes only about 5 minutes to set up.
4
+
5
+ The usage instructions below show how to create a currencies table, run a rake task to update the exchange rates, and use `convert()` to convert between currencies inside your application. Total time to implementation should be ~5 minutes.
4
6
 
5
- - Add a currencies table to your rails app
6
- - Schedule the retrieval of up to date foreign exchange data (hourly from a free API)
7
- - Convert between currencies
8
7
 
9
8
  ## Installation
10
9
 
11
- Install the gem and add to the application's Gemfile by executing:
10
+ Install the gem in one of the usual ways:
12
11
 
13
12
  ```bash
14
13
  bundle add simple_forex
15
- ```
16
-
17
- If bundler is not being used to manage dependencies, install the gem by executing:
18
14
 
19
- ```bash
20
15
  gem install simple_forex
21
16
  ```
22
17
 
23
18
  ## Usage
24
19
 
20
+ ### Create a currencies table
25
21
 
26
-
27
- ### Add a currencies table to your rails app
28
-
29
- After installing the gem, run this to add a currencies table to your rails app
22
+ Use the included generator will make a currencies table migration:
30
23
 
31
24
  ```bash
32
25
  rails generate simple_forex
33
26
  ```
34
27
 
35
- followed by
28
+ Then run the migration:
36
29
 
37
30
  ```
38
31
  rake db:migrate
39
32
  ```
40
33
 
41
- ### Run a rake task to update currencies
34
+ ### Fetch exchange rates
42
35
 
43
-
44
- Get a [free API key](https://openexchangerates.org/signup/free), open credentials.yml (`EDITOR="vim" rails credentials:edit`) and add the API key to credentials.yml like so:
36
+ Create a [free API key](https://openexchangerates.org/signup/free), open credentials.yml (`EDITOR="vim" rails credentials:edit`) and add the API key to credentials.yml like so:
45
37
 
46
38
  ```
47
39
  # config/credentials.yml.enc
40
+
48
41
  simple_forex:
49
42
  openexchangerates_key: 1234abcd
50
43
  ```
51
44
 
52
- Then, run this to retrieve currencies in the currencies table:
45
+ Run this rate task to retrieve currencies and store them in the currencies table:
53
46
 
54
47
  ```bash
55
48
  rake simple_forex:fetch_rates
56
49
  ```
57
50
 
58
- View the exchange rate data in the rails console with `Currency.last`.
51
+ View the exchange rate data in the rails console with `Currency.last`:
59
52
 
53
+ ```
54
+ => #<SimpleForex::Currency:0x000000013c4bae78
55
+ id: 1,
56
+ blob:
57
+ {"base"=>"USD",
58
+ "rates"=>
59
+ {"AED"=>"3.67286",
60
+ "AFN"=>"89.49999",
61
+ "ALL"=>"108.164235",
62
+ "AMD"=>"388.147964",
63
+ "ANG"=>"1.798456",
64
+ "AOA"=>"503.891",
65
+ "ARS"=>"198.1831",
66
+ "AUD"=>"1.485125",
67
+
68
+ ...
69
+
70
+ "XOF"=>"617.115134",
71
+ "XPD"=>"0.00069861",
72
+ "XPF"=>"112.265627",
73
+ "XPT"=>"0.00103175",
74
+ "YER"=>"250.300106",
75
+ "ZAR"=>"18.23512",
76
+ "ZMW"=>"19.934751",
77
+ "ZWL"=>"322.0"},
78
+ "license"=>"https://openexchangerates.org/license",
79
+ "timestamp"=>1678096800,
80
+ "disclaimer"=>"Usage subject to terms: https://openexchangerates.org/terms"},
81
+ created_at: Mon, 06 Mar 2023 10:43:54 UTC +00:00,
82
+ updated_at: Mon, 06 Mar 2023 10:43:54 UTC +00:00>
83
+ ```
60
84
 
61
- ### Schedule task to update currencies
62
85
 
63
86
  **Optional**
64
87
 
@@ -76,7 +99,7 @@ require 'simple_forex'
76
99
  convert(amount, from_currency, to_currency)
77
100
  ```
78
101
 
79
- For example
102
+ Example
80
103
 
81
104
  ```ruby
82
105
  require 'simple_forex'
@@ -84,18 +107,16 @@ convert(100, 'USD', 'EUR')
84
107
  # => 0.939717e2
85
108
  ```
86
109
 
87
- Note the decimal value returned uses scientific notation, evidenced by the `e` in the decimal's representation.
88
-
110
+ Note ruby decimals use scientific notation, evidenced by the `e` toward the end of the value.
89
111
 
90
- ## Development
91
112
 
92
- After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
113
+ ## Requirements
93
114
 
94
- To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and the created tag, and push the `.gem` file to [rubygems.org](https://rubygems.org).
115
+ This gem *probably* only works on Rails 6 and Rails 7 apps, and only those using a postgres database.
95
116
 
96
117
  ## Contributing
97
118
 
98
- Bug reports and pull requests are welcome on GitHub at https://github.com/stevecondylios/simple_forex.
119
+ Bug reports and pull requests are very welcome at https://github.com/stevecondylios/simple_forex.
99
120
 
100
121
  ## License
101
122
 
@@ -0,0 +1,137 @@
1
+ <!DOCTYPE html>
2
+
3
+ <html>
4
+ <head>
5
+ <meta charset="UTF-8">
6
+
7
+ <title>class CreateCurrencies - RDoc Documentation</title>
8
+
9
+ <script type="text/javascript">
10
+ var rdoc_rel_prefix = "./";
11
+ var index_rel_prefix = "./";
12
+ </script>
13
+
14
+ <script src="./js/navigation.js" defer></script>
15
+ <script src="./js/search.js" defer></script>
16
+ <script src="./js/search_index.js" defer></script>
17
+ <script src="./js/searcher.js" defer></script>
18
+ <script src="./js/darkfish.js" defer></script>
19
+
20
+ <link href="./css/fonts.css" rel="stylesheet">
21
+ <link href="./css/rdoc.css" rel="stylesheet">
22
+
23
+
24
+ <body id="top" role="document" class="class">
25
+ <nav role="navigation">
26
+ <div id="project-navigation">
27
+ <div id="home-section" role="region" title="Quick navigation" class="nav-section">
28
+ <h2>
29
+ <a href="./index.html" rel="home">Home</a>
30
+ </h2>
31
+
32
+ <div id="table-of-contents-navigation">
33
+ <a href="./table_of_contents.html#pages">Pages</a>
34
+ <a href="./table_of_contents.html#classes">Classes</a>
35
+ <a href="./table_of_contents.html#methods">Methods</a>
36
+ </div>
37
+ </div>
38
+
39
+ <div id="search-section" role="search" class="project-section initially-hidden">
40
+ <form action="#" method="get" accept-charset="utf-8">
41
+ <div id="search-field-wrapper">
42
+ <input id="search-field" role="combobox" aria-label="Search"
43
+ aria-autocomplete="list" aria-controls="search-results"
44
+ type="text" name="search" placeholder="Search" spellcheck="false"
45
+ title="Type to search, Up and Down to navigate, Enter to load">
46
+ </div>
47
+
48
+ <ul id="search-results" aria-label="Search Results"
49
+ aria-busy="false" aria-expanded="false"
50
+ aria-atomic="false" class="initially-hidden"></ul>
51
+ </form>
52
+ </div>
53
+
54
+ </div>
55
+
56
+
57
+
58
+ <div id="class-metadata">
59
+
60
+
61
+ <div id="parent-class-section" class="nav-section">
62
+ <h3>Parent</h3>
63
+
64
+ <p class="link">MIGRATION_CLASS
65
+ </div>
66
+
67
+
68
+
69
+
70
+ <!-- Method Quickref -->
71
+ <div id="method-list-section" class="nav-section">
72
+ <h3>Methods</h3>
73
+
74
+ <ul class="link-list" role="directory">
75
+ <li ><a href="#method-i-change">#change</a>
76
+ </ul>
77
+ </div>
78
+
79
+ </div>
80
+ </nav>
81
+
82
+ <main role="main" aria-labelledby="class-CreateCurrencies">
83
+ <h1 id="class-CreateCurrencies" class="class">
84
+ class CreateCurrencies
85
+ </h1>
86
+
87
+ <section class="description">
88
+
89
+ </section>
90
+
91
+ <section id="5Buntitled-5D" class="documentation-section">
92
+
93
+
94
+
95
+
96
+
97
+ <section id="public-instance-5Buntitled-5D-method-details" class="method-section">
98
+ <header>
99
+ <h3>Public Instance Methods</h3>
100
+ </header>
101
+
102
+ <div id="method-i-change" class="method-detail ">
103
+ <div class="method-heading">
104
+ <span class="method-name">change</span><span
105
+ class="method-args">()</span>
106
+ <span class="method-click-advice">click to toggle source</span>
107
+ </div>
108
+
109
+ <div class="method-description">
110
+
111
+
112
+ <div class="method-source-code" id="change-source">
113
+ <pre><span class="ruby-comment"># File simple_forex/migration.rb, line 9</span>
114
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">change</span>
115
+ <span class="ruby-identifier">create_table</span> <span class="ruby-value">:currencies</span> <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">t</span><span class="ruby-operator">|</span>
116
+ <span class="ruby-identifier">t</span>.<span class="ruby-identifier">jsonb</span> <span class="ruby-value">:blob</span>
117
+ <span class="ruby-identifier">t</span>.<span class="ruby-identifier">timestamps</span>
118
+ <span class="ruby-keyword">end</span>
119
+ <span class="ruby-keyword">end</span></pre>
120
+ </div>
121
+ </div>
122
+
123
+
124
+ </div>
125
+
126
+ </section>
127
+
128
+ </section>
129
+ </main>
130
+
131
+
132
+ <footer id="validator-badges" role="contentinfo">
133
+ <p><a href="https://validator.w3.org/check/referer">Validate</a>
134
+ <p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.3.3.
135
+ <p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
136
+ </footer>
137
+
@@ -0,0 +1,114 @@
1
+ <!DOCTYPE html>
2
+
3
+ <html>
4
+ <head>
5
+ <meta charset="UTF-8">
6
+
7
+ <title>class Object - RDoc Documentation</title>
8
+
9
+ <script type="text/javascript">
10
+ var rdoc_rel_prefix = "./";
11
+ var index_rel_prefix = "./";
12
+ </script>
13
+
14
+ <script src="./js/navigation.js" defer></script>
15
+ <script src="./js/search.js" defer></script>
16
+ <script src="./js/search_index.js" defer></script>
17
+ <script src="./js/searcher.js" defer></script>
18
+ <script src="./js/darkfish.js" defer></script>
19
+
20
+ <link href="./css/fonts.css" rel="stylesheet">
21
+ <link href="./css/rdoc.css" rel="stylesheet">
22
+
23
+
24
+ <body id="top" role="document" class="class">
25
+ <nav role="navigation">
26
+ <div id="project-navigation">
27
+ <div id="home-section" role="region" title="Quick navigation" class="nav-section">
28
+ <h2>
29
+ <a href="./index.html" rel="home">Home</a>
30
+ </h2>
31
+
32
+ <div id="table-of-contents-navigation">
33
+ <a href="./table_of_contents.html#pages">Pages</a>
34
+ <a href="./table_of_contents.html#classes">Classes</a>
35
+ <a href="./table_of_contents.html#methods">Methods</a>
36
+ </div>
37
+ </div>
38
+
39
+ <div id="search-section" role="search" class="project-section initially-hidden">
40
+ <form action="#" method="get" accept-charset="utf-8">
41
+ <div id="search-field-wrapper">
42
+ <input id="search-field" role="combobox" aria-label="Search"
43
+ aria-autocomplete="list" aria-controls="search-results"
44
+ type="text" name="search" placeholder="Search" spellcheck="false"
45
+ title="Type to search, Up and Down to navigate, Enter to load">
46
+ </div>
47
+
48
+ <ul id="search-results" aria-label="Search Results"
49
+ aria-busy="false" aria-expanded="false"
50
+ aria-atomic="false" class="initially-hidden"></ul>
51
+ </form>
52
+ </div>
53
+
54
+ </div>
55
+
56
+
57
+
58
+ <div id="class-metadata">
59
+
60
+
61
+ <div id="parent-class-section" class="nav-section">
62
+ <h3>Parent</h3>
63
+
64
+ <p class="link">BasicObject
65
+ </div>
66
+
67
+
68
+ <div id="includes-section" class="nav-section">
69
+ <h3>Included Modules</h3>
70
+
71
+ <ul class="link-list">
72
+ <li><a class="include" href="SimpleForex.html">SimpleForex</a>
73
+ </ul>
74
+ </div>
75
+
76
+
77
+
78
+ </div>
79
+ </nav>
80
+
81
+ <main role="main" aria-labelledby="class-Object">
82
+ <h1 id="class-Object" class="class">
83
+ class Object
84
+ </h1>
85
+
86
+ <section class="description">
87
+
88
+ </section>
89
+
90
+ <section id="5Buntitled-5D" class="documentation-section">
91
+
92
+
93
+ <section class="constants-list">
94
+ <header>
95
+ <h3>Constants</h3>
96
+ </header>
97
+ <dl>
98
+ <dt id="MIGRATION_CLASS">MIGRATION_CLASS
99
+ <dd>
100
+ </dl>
101
+ </section>
102
+
103
+
104
+
105
+ </section>
106
+ </main>
107
+
108
+
109
+ <footer id="validator-badges" role="contentinfo">
110
+ <p><a href="https://validator.w3.org/check/referer">Validate</a>
111
+ <p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.3.3.
112
+ <p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
113
+ </footer>
114
+
@@ -0,0 +1,99 @@
1
+ <!DOCTYPE html>
2
+
3
+ <html>
4
+ <head>
5
+ <meta charset="UTF-8">
6
+
7
+ <title>class SimpleForex::Currency - RDoc Documentation</title>
8
+
9
+ <script type="text/javascript">
10
+ var rdoc_rel_prefix = "../";
11
+ var index_rel_prefix = "../";
12
+ </script>
13
+
14
+ <script src="../js/navigation.js" defer></script>
15
+ <script src="../js/search.js" defer></script>
16
+ <script src="../js/search_index.js" defer></script>
17
+ <script src="../js/searcher.js" defer></script>
18
+ <script src="../js/darkfish.js" defer></script>
19
+
20
+ <link href="../css/fonts.css" rel="stylesheet">
21
+ <link href="../css/rdoc.css" rel="stylesheet">
22
+
23
+
24
+ <body id="top" role="document" class="class">
25
+ <nav role="navigation">
26
+ <div id="project-navigation">
27
+ <div id="home-section" role="region" title="Quick navigation" class="nav-section">
28
+ <h2>
29
+ <a href="../index.html" rel="home">Home</a>
30
+ </h2>
31
+
32
+ <div id="table-of-contents-navigation">
33
+ <a href="../table_of_contents.html#pages">Pages</a>
34
+ <a href="../table_of_contents.html#classes">Classes</a>
35
+ <a href="../table_of_contents.html#methods">Methods</a>
36
+ </div>
37
+ </div>
38
+
39
+ <div id="search-section" role="search" class="project-section initially-hidden">
40
+ <form action="#" method="get" accept-charset="utf-8">
41
+ <div id="search-field-wrapper">
42
+ <input id="search-field" role="combobox" aria-label="Search"
43
+ aria-autocomplete="list" aria-controls="search-results"
44
+ type="text" name="search" placeholder="Search" spellcheck="false"
45
+ title="Type to search, Up and Down to navigate, Enter to load">
46
+ </div>
47
+
48
+ <ul id="search-results" aria-label="Search Results"
49
+ aria-busy="false" aria-expanded="false"
50
+ aria-atomic="false" class="initially-hidden"></ul>
51
+ </form>
52
+ </div>
53
+
54
+ </div>
55
+
56
+
57
+
58
+ <div id="class-metadata">
59
+
60
+
61
+ <div id="parent-class-section" class="nav-section">
62
+ <h3>Parent</h3>
63
+
64
+ <p class="link">ActiveRecord::Base
65
+ </div>
66
+
67
+
68
+
69
+
70
+ </div>
71
+ </nav>
72
+
73
+ <main role="main" aria-labelledby="class-SimpleForex::Currency">
74
+ <h1 id="class-SimpleForex::Currency" class="class">
75
+ class SimpleForex::Currency
76
+ </h1>
77
+
78
+ <section class="description">
79
+
80
+ <p>From: <a href="https://stackoverflow.com/a/31701809/5783745">stackoverflow.com/a/31701809/5783745</a> Otherwise after the migration you get Currency.count # uninitialized constant <a href="Currency.html"><code>Currency</code></a> (NameError)</p>
81
+
82
+ </section>
83
+
84
+ <section id="5Buntitled-5D" class="documentation-section">
85
+
86
+
87
+
88
+
89
+
90
+ </section>
91
+ </main>
92
+
93
+
94
+ <footer id="validator-badges" role="contentinfo">
95
+ <p><a href="https://validator.w3.org/check/referer">Validate</a>
96
+ <p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.3.3.
97
+ <p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
98
+ </footer>
99
+
@@ -0,0 +1,97 @@
1
+ <!DOCTYPE html>
2
+
3
+ <html>
4
+ <head>
5
+ <meta charset="UTF-8">
6
+
7
+ <title>class SimpleForex::Error - RDoc Documentation</title>
8
+
9
+ <script type="text/javascript">
10
+ var rdoc_rel_prefix = "../";
11
+ var index_rel_prefix = "../";
12
+ </script>
13
+
14
+ <script src="../js/navigation.js" defer></script>
15
+ <script src="../js/search.js" defer></script>
16
+ <script src="../js/search_index.js" defer></script>
17
+ <script src="../js/searcher.js" defer></script>
18
+ <script src="../js/darkfish.js" defer></script>
19
+
20
+ <link href="../css/fonts.css" rel="stylesheet">
21
+ <link href="../css/rdoc.css" rel="stylesheet">
22
+
23
+
24
+ <body id="top" role="document" class="class">
25
+ <nav role="navigation">
26
+ <div id="project-navigation">
27
+ <div id="home-section" role="region" title="Quick navigation" class="nav-section">
28
+ <h2>
29
+ <a href="../index.html" rel="home">Home</a>
30
+ </h2>
31
+
32
+ <div id="table-of-contents-navigation">
33
+ <a href="../table_of_contents.html#pages">Pages</a>
34
+ <a href="../table_of_contents.html#classes">Classes</a>
35
+ <a href="../table_of_contents.html#methods">Methods</a>
36
+ </div>
37
+ </div>
38
+
39
+ <div id="search-section" role="search" class="project-section initially-hidden">
40
+ <form action="#" method="get" accept-charset="utf-8">
41
+ <div id="search-field-wrapper">
42
+ <input id="search-field" role="combobox" aria-label="Search"
43
+ aria-autocomplete="list" aria-controls="search-results"
44
+ type="text" name="search" placeholder="Search" spellcheck="false"
45
+ title="Type to search, Up and Down to navigate, Enter to load">
46
+ </div>
47
+
48
+ <ul id="search-results" aria-label="Search Results"
49
+ aria-busy="false" aria-expanded="false"
50
+ aria-atomic="false" class="initially-hidden"></ul>
51
+ </form>
52
+ </div>
53
+
54
+ </div>
55
+
56
+
57
+
58
+ <div id="class-metadata">
59
+
60
+
61
+ <div id="parent-class-section" class="nav-section">
62
+ <h3>Parent</h3>
63
+
64
+ <p class="link">StandardError
65
+ </div>
66
+
67
+
68
+
69
+
70
+ </div>
71
+ </nav>
72
+
73
+ <main role="main" aria-labelledby="class-SimpleForex::Error">
74
+ <h1 id="class-SimpleForex::Error" class="class">
75
+ class SimpleForex::Error
76
+ </h1>
77
+
78
+ <section class="description">
79
+
80
+ </section>
81
+
82
+ <section id="5Buntitled-5D" class="documentation-section">
83
+
84
+
85
+
86
+
87
+
88
+ </section>
89
+ </main>
90
+
91
+
92
+ <footer id="validator-badges" role="contentinfo">
93
+ <p><a href="https://validator.w3.org/check/referer">Validate</a>
94
+ <p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.3.3.
95
+ <p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
96
+ </footer>
97
+