eve_online 0.13.0 → 0.14.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (39) hide show
  1. checksums.yaml +5 -5
  2. data/.travis.yml +29 -8
  3. data/CHANGELOG.md +9 -0
  4. data/README.md +133 -26
  5. data/eve_online.gemspec +1 -1
  6. data/gemfiles/activesupport_52.gemfile +5 -0
  7. data/lib/eve_online.rb +7 -0
  8. data/lib/eve_online/esi/alliance.rb +5 -4
  9. data/lib/eve_online/esi/alliance_icon.rb +2 -2
  10. data/lib/eve_online/esi/character.rb +3 -3
  11. data/lib/eve_online/esi/character_assets.rb +2 -2
  12. data/lib/eve_online/esi/character_attributes.rb +2 -2
  13. data/lib/eve_online/esi/character_blueprints.rb +2 -2
  14. data/lib/eve_online/esi/character_clones.rb +11 -5
  15. data/lib/eve_online/esi/character_fatigue.rb +2 -2
  16. data/lib/eve_online/esi/character_implants.rb +2 -2
  17. data/lib/eve_online/esi/character_loyalty_points.rb +2 -2
  18. data/lib/eve_online/esi/character_online.rb +35 -0
  19. data/lib/eve_online/esi/character_portrait.rb +2 -2
  20. data/lib/eve_online/esi/character_skill_queue.rb +2 -2
  21. data/lib/eve_online/esi/character_skills.rb +9 -4
  22. data/lib/eve_online/esi/character_standings.rb +2 -2
  23. data/lib/eve_online/esi/character_wallet.rb +2 -2
  24. data/lib/eve_online/esi/corporation.rb +6 -6
  25. data/lib/eve_online/esi/corporation_blueprints.rb +32 -0
  26. data/lib/eve_online/esi/dogma_attribute.rb +2 -2
  27. data/lib/eve_online/esi/market_history.rb +31 -0
  28. data/lib/eve_online/esi/models/alliance.rb +21 -6
  29. data/lib/eve_online/esi/models/asset.rb +6 -6
  30. data/lib/eve_online/esi/models/character.rb +6 -1
  31. data/lib/eve_online/esi/models/corporation.rb +40 -30
  32. data/lib/eve_online/esi/models/industry_job.rb +1 -0
  33. data/lib/eve_online/esi/models/jump_clone.rb +10 -0
  34. data/lib/eve_online/esi/models/market_history.rb +44 -0
  35. data/lib/eve_online/esi/models/online.rb +36 -0
  36. data/lib/eve_online/esi/models/skill.rb +8 -3
  37. data/lib/eve_online/version.rb +1 -1
  38. data/server.http +0 -0
  39. metadata +12 -5
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA256:
3
- metadata.gz: c0c924a4003c75c1e8a65b77ac07f090e49343510d0d0dbbe08f48f1b1ec8230
4
- data.tar.gz: 1f68234394ab52a43b5b91c7ec6be50dd83d2d45e384475a14e8198077087aaa
2
+ SHA1:
3
+ metadata.gz: 343632ea50d398841ee701e91e02ccb43e862910
4
+ data.tar.gz: 7e2dca690c6ba8633674acefe135f6d2aa43b686
5
5
  SHA512:
6
- metadata.gz: f97fa023b4fd38a7267bd519f222bb079520266fd2bad9f691ac3e9eb0b4d2dc775e0ab85fcd7ede397c4cc3e76a4d6879aa12c079b5af03677743ee9e2ed7fd
7
- data.tar.gz: 3803521378200b63e35544e5b1cd65dbdde1ad375d54f82d59130405fcb964d9485f577db2dc94b99e51816107d310066ff4384cb0a1a6ca327300d17cbf44c7
6
+ metadata.gz: 61447caa266c021b24e1e382e5662db9328b66ee4721d3470e797fdc158105e498a1e1980f22048e00569ca877f9119a6f976ba9e29c626061077afd0a328a2d
7
+ data.tar.gz: 78769a65925b6be99e835eca8e4547b4f8a553b36bfae38f72326ed69ca90aef66b9ba98f923375b29f66cefb082cca7c5c7b898ebd20105efb78396b583a035
@@ -2,50 +2,71 @@ language: ruby
2
2
  sudo: false
3
3
  cache: bundler
4
4
  rvm:
5
- - 2.2.8
6
- - 2.3.5
7
- - 2.4.2
5
+ - 2.2.9
6
+ - 2.3.6
7
+ - 2.4.3
8
+ - 2.5.0-rc1
8
9
  - ruby-head
9
10
 
10
11
  gemfile:
11
12
  - gemfiles/activesupport_42.gemfile
12
13
  - gemfiles/activesupport_50.gemfile
13
14
  - gemfiles/activesupport_51.gemfile
15
+ - gemfiles/activesupport_52.gemfile
14
16
  - gemfiles/activesupport_edge.gemfile
15
17
 
16
18
  matrix:
17
19
  exclude:
18
20
  - rvm: ruby-head
19
21
  gemfile: gemfiles/activesupport_42.gemfile
22
+ - rvm: 2.5.0-rc1
23
+ gemfile: gemfiles/activesupport_42.gemfile
20
24
  include:
21
- - rvm: jruby-9.1.14.0
25
+ - rvm: jruby-9.1.15.0
22
26
  gemfile: gemfiles/activesupport_42.gemfile
23
27
  jdk: oraclejdk8
24
- - rvm: jruby-9.1.14.0
28
+ env: JRUBY_OPTS='--debug' # get more accurate coverage data
29
+ - rvm: jruby-9.1.15.0
25
30
  gemfile: gemfiles/activesupport_50.gemfile
26
31
  jdk: oraclejdk8
27
- - rvm: jruby-9.1.14.0
32
+ env: JRUBY_OPTS='--debug' # get more accurate coverage data
33
+ - rvm: jruby-9.1.15.0
28
34
  gemfile: gemfiles/activesupport_51.gemfile
29
35
  jdk: oraclejdk8
30
- - rvm: jruby-9.1.14.0
36
+ env: JRUBY_OPTS='--debug' # get more accurate coverage data
37
+ - rvm: jruby-9.1.15.0
38
+ gemfile: gemfiles/activesupport_52.gemfile
39
+ jdk: oraclejdk8
40
+ env: JRUBY_OPTS='--debug' # get more accurate coverage data
41
+ - rvm: jruby-9.1.15.0
31
42
  gemfile: gemfiles/activesupport_edge.gemfile
32
43
  jdk: oraclejdk8
44
+ env: JRUBY_OPTS='--debug' # get more accurate coverage data
33
45
  - rvm: jruby-head
34
46
  gemfile: gemfiles/activesupport_42.gemfile
35
47
  jdk: oraclejdk8
48
+ env: JRUBY_OPTS='--debug' # get more accurate coverage data
36
49
  - rvm: jruby-head
37
50
  gemfile: gemfiles/activesupport_50.gemfile
38
51
  jdk: oraclejdk8
52
+ env: JRUBY_OPTS='--debug' # get more accurate coverage data
39
53
  - rvm: jruby-head
40
54
  gemfile: gemfiles/activesupport_51.gemfile
41
55
  jdk: oraclejdk8
56
+ env: JRUBY_OPTS='--debug' # get more accurate coverage data
57
+ - rvm: jruby-head
58
+ gemfile: gemfiles/activesupport_52.gemfile
59
+ jdk: oraclejdk8
60
+ env: JRUBY_OPTS='--debug' # get more accurate coverage data
42
61
  - rvm: jruby-head
43
62
  gemfile: gemfiles/activesupport_edge.gemfile
44
63
  jdk: oraclejdk8
64
+ env: JRUBY_OPTS='--debug' # get more accurate coverage data
45
65
 
46
66
  allow_failures:
67
+ - rvm: 2.5.0-rc1
47
68
  - rvm: ruby-head
48
- - rvm: jruby-9.1.14.0
69
+ - rvm: jruby-9.1.15.0
49
70
  - rvm: jruby-head
50
71
  fast_finish: true
51
72
 
@@ -1,5 +1,14 @@
1
1
  ## Changelog
2
2
 
3
+ **v0.14.0**
4
+
5
+ * Add `EveOnline::ESI::CorporationBlueprints`
6
+ * Add `EveOnline::ESI::Models::MarketHistory`
7
+ * Add `EveOnline::ESI::MarketHistory`
8
+ * [Sync with ESI 2017/12/20 update](https://developers.eveonline.com/blog/article/esi-endpoint-versioning-important-info-and-best-practices)
9
+ * Add `EveOnline::ESI::CharacterOnline`
10
+ * Add `EveOnline::ESI::Models::Online`
11
+
3
12
  **v0.13.0**
4
13
 
5
14
  * Drop CREST API support
data/README.md CHANGED
@@ -51,8 +51,9 @@ Or install it yourself as:
51
51
  * MRI 2.2
52
52
  * MRI 2.3
53
53
  * MRI 2.4
54
- * MRI 2.5 (head)
55
- * JRuby 9.1.14.0
54
+ * MRI 2.5
55
+ * MRI (head)
56
+ * JRuby 9.1.15.0
56
57
  * JRuby (head)
57
58
 
58
59
  ## Supported rails versions
@@ -60,6 +61,7 @@ Or install it yourself as:
60
61
  * 4.2
61
62
  * 5.0
62
63
  * 5.1
64
+ * 5.2
63
65
  * Edge
64
66
 
65
67
  ## Usage
@@ -268,15 +270,21 @@ alliance = EveOnline::ESI::Alliance.new(options)
268
270
 
269
271
  alliance.scope # => nil
270
272
 
271
- alliance.as_json # => {:alliance_name=>"Kids With Guns Alliance",
273
+ alliance.as_json # => {:name=>"Kids With Guns Alliance",
272
274
  # :ticker=>"-KWG-",
275
+ # :creator_id=>94195096,
276
+ # :creator_corporation_id=>98306624,
277
+ # :executor_corporation_id=>98306624,
273
278
  # :date_founded=>Sun, 03 May 2015 19:45:17 UTC +00:00,
274
- # :executor_corp=>98306624}
279
+ # :faction_id=>nil}
275
280
 
276
- alliance.alliance_name # => "Kids With Guns Alliance"
281
+ alliance.name # => "Kids With Guns Alliance"
277
282
  alliance.ticker # => "-KWG-"
283
+ alliance.creator_id # => 94195096
284
+ alliance.creator_corporation_id # => 98306624
285
+ alliance.executor_corporation_id # => 98306624
278
286
  alliance.date_founded # => Sun, 03 May 2015 19:45:17 UTC +00:00
279
- alliance.executor_corp # => 98306624
287
+ alliance.faction_id # => nil
280
288
  ```
281
289
 
282
290
  ##### List alliance's corporations
@@ -368,7 +376,7 @@ character = EveOnline::ESI::Character.new(options)
368
376
  character.scope # => nil
369
377
 
370
378
  character.as_json
371
- # => {:corporation_id=>1000168, :birthday=>Fri, 15 Jan 2010 15:26:00 UTC +00:00, :name=>"Green Black", :gender=>"male", :race_id=>2, :bloodline_id=>4, :description=>"", :alliance_id=>12345678, :ancestry_id=>24, :security_status=>1.8694881661345457}
379
+ # => {:corporation_id=>1000168, :birthday=>Fri, 15 Jan 2010 15:26:00 UTC +00:00, :name=>"Green Black", :gender=>"male", :race_id=>2, :bloodline_id=>4, :description=>"", :alliance_id=>12345678, :ancestry_id=>24, :security_status=>1.8694881661345457, :faction_id=>500001}
372
380
 
373
381
  character.corporation_id # => 1000168
374
382
  character.birthday # => Fri, 15 Jan 2010 15:26:00 UTC +00:00
@@ -380,6 +388,7 @@ character.description # => ""
380
388
  character.alliance_id # => 12345678
381
389
  character.ancestry_id # => 24
382
390
  character.security_status # => 1.8694881661345457
391
+ character.faction_id # => 500001
383
392
  ```
384
393
 
385
394
  ##### Get agents research
@@ -499,7 +508,7 @@ character_clones = EveOnline::ESI::CharacterClones.new(options)
499
508
 
500
509
  character_clones.scope # => "esi-clones.read_clones.v1"
501
510
 
502
- character_clones.last_jump_date # => Fri, 27 Jul 2012 14:50:11 UTC +00:00
511
+ character_clones.last_clone_jump_date # => Fri, 27 Jul 2012 14:50:11 UTC +00:00
503
512
 
504
513
  character_clones.home_location.as_json # => {:location_id=>61000032, :location_type=>"station"}
505
514
 
@@ -507,11 +516,16 @@ character_clones.jump_clones.size # => 2
507
516
 
508
517
  jump_clone = character_clones.jump_clones.first
509
518
 
510
- jump_clone.as_json # => {:location_id=>61000032, :location_type=>"station", :implants=>[22118]}
519
+ jump_clone.as_json
520
+ # => {:jump_clone_id=>22357400, :name=>nil, :location_id=>61000032, :location_type=>"station", :implants=>[22118]}
511
521
 
522
+ jump_clone.jump_clone_id # => 22357400
523
+ jump_clone.name # => nil
512
524
  jump_clone.location_id # => 61000032
513
525
  jump_clone.location_type # => "station"
514
526
  jump_clone.implants # => [22118]
527
+
528
+ character_clones.last_station_change_date # => Tue, 30 Jun 2015 21:51:13 UTC +00:00
515
529
  ```
516
530
 
517
531
  ##### Get active implants
@@ -572,25 +586,71 @@ corporation = EveOnline::ESI::Corporation.new(options)
572
586
  corporation.scope # => nil
573
587
 
574
588
  corporation.as_json
575
- # => {:alliance_id=>99001258, :ceo_id=>1721864142, :corporation_description=>"", :corporation_name=>"Bullshit Bingo Club", :creation_date=>Mon, 11 Jul 2016 14:22:17 UTC +00:00, :creator_id=>1721864142, :faction=>nil, :member_count=>38, :tax_rate=>0.1, :ticker=>"BUBIC", :url=>"http://"}
576
-
577
- corporation.alliance_id # => 99001258
589
+ # => {:name=>"Bullshit Bingo Club",
590
+ # :ticker=>"BUBIC",
591
+ # :member_count=>60,
592
+ # :ceo_id=>1721864142,
593
+ # :alliance_id=>99001258,
594
+ # :description=>"",
595
+ # :tax_rate=>0.1,
596
+ # :date_founded=>Mon, 11 Jul 2016 14:22:17 UTC +00:00,
597
+ # :creator_id=>1721864142,
598
+ # :corporation_url=>"http://",
599
+ # :faction_id=>nil,
600
+ # :home_station_id=>60011893,
601
+ # :shares=>1000}
602
+
603
+ corporation.name # => "Bullshit Bingo Club"
604
+ corporation.ticker # => "BUBIC"
605
+ corporation.member_count # => 60
578
606
  corporation.ceo_id # => 1721864142
579
- corporation.corporation_description # => ""
580
- corporation.corporation_name # => "Bullshit Bingo Club"
581
- corporation.creation_date # => Mon, 11 Jul 2016 14:22:17 UTC +00:00
582
- corporation.creator_id # => 1721864142
583
- corporation.faction # => nil
584
- corporation.member_count # => 38
607
+ corporation.alliance_id # => 99001258
608
+ corporation.description # => ""
585
609
  corporation.tax_rate # => 0.1
586
- corporation.ticker # => "BUBIC"
610
+ corporation.date_founded # => Mon, 11 Jul 2016 14:22:17 UTC +00:00
611
+ corporation.creator_id # => 1721864142
587
612
  corporation.corporation_url # => "http://"
613
+ corporation.faction_id # => nil
614
+ corporation.home_station_id # => 60011893
615
+ corporation.shares # => 1000
588
616
  ```
589
617
 
590
618
  ##### Get alliance history
591
619
 
592
620
  ##### Get corporation blueprints
593
621
 
622
+ ```ruby
623
+ options = options = { token: 'token123', corporation_id: 98260237 }
624
+
625
+ corporation_blueprints = EveOnline::ESI::CorporationBlueprints.new(options)
626
+
627
+ corporation_blueprints.scope # => "esi-corporations.read_blueprints.v1"
628
+
629
+ corporation_blueprints.blueprints.size # => 387
630
+
631
+ blueprint = corporation_blueprints.blueprints.first
632
+
633
+ blueprint.as_json # => {:item_id => 1007566533085,
634
+ # :location_flag => "CorpSAG2",
635
+ # :location_id => 1024637025781,
636
+ # :material_efficiency => 10,
637
+ # :quantity => -2,
638
+ # :runs => 300,
639
+ # :time_efficiency => 20,
640
+ # :type_id => 31803}
641
+
642
+ blueprint.item_id # => 1007566533085
643
+ blueprint.location_flag # => "CorpSAG2"
644
+ blueprint.location_id # => 1024637025781
645
+ blueprint.material_efficiency # => 10
646
+ blueprint.quantity # => -2
647
+ blueprint.runs # => 300
648
+ blueprint.time_efficiency # => 20
649
+ blueprint.type_id # => 31803
650
+
651
+ # TODO: add pagination
652
+ ```
653
+
594
654
  ##### Get corporation divisions
595
655
 
596
656
  ##### Get corporation icon
@@ -884,6 +944,22 @@ job.successful_runs # => nil
884
944
 
885
945
  ##### Get character online
886
946
 
947
+ ```ruby
948
+ options = { token: 'token123', character_id: 90729314 }
949
+
950
+ character_online = EveOnline::ESI::CharacterOnline.new(options)
951
+
952
+ character_online.scope # => "esi-location.read_online.v1"
953
+
954
+ character_online.as_json
955
+ # => {:online=>false, :last_login=>Sun, 15 Jan 2017 11:39:24 UTC +00:00, :last_logout=>Sun, 15 Jan 2017 11:31:22 UTC +00:00, :logins=>370}
956
+
957
+ character_online.online # => false
958
+ character_online.last_login # => Sun, 15 Jan 2017 11:39:24 UTC +00:00
959
+ character_online.last_logout # => Sun, 15 Jan 2017 11:31:22 UTC +00:00
960
+ character_online.logins # => 370
961
+ ```
962
+
887
963
  ##### Get current ship
888
964
 
889
965
  #### Loyalty
@@ -945,6 +1021,34 @@ loyalty_point.loyalty_points # => 14163
945
1021
 
946
1022
  ##### List historical market statistics in a region
947
1023
 
1024
+ ```ruby
1025
+ options = { region_id: 10000002, type_id: 28606 }
1026
+
1027
+ market_history = EveOnline::ESI::MarketHistory.new(options)
1028
+
1029
+ market_history.scope # => nil
1030
+
1031
+ statistics = market_history.history
1032
+
1033
+ statistics.size # => 417
1034
+
1035
+ stats_today = statistics.last
1036
+
1037
+ stats_today.as_json # => {:date=>Fri, 24 Nov 2017 00:00:00 UTC +00:00,
1038
+ # :order_count=>52,
1039
+ # :volume=>52,
1040
+ # :highest=>769999999.99,
1041
+ # :average=>754702326.19,
1042
+ # :lowest=>701100002.49}
1043
+
1044
+ stats_today.date # => Fri, 24 Nov 2017 00:00:00 UTC +00:00
1045
+ stats_today.order_count # => 52
1046
+ stats_today.volume # => 52
1047
+ stats_today.highest # => 769999999.99
1048
+ stats_today.average # => 754702326.19
1049
+ stats_today.lowest # => 701100002.49
1050
+ ```
1051
+
948
1052
  ##### List orders in a region
949
1053
 
950
1054
  ##### List type IDs relevant to a market
@@ -1044,19 +1148,22 @@ character_skills = EveOnline::ESI::CharacterSkills.new(options)
1044
1148
 
1045
1149
  character_skills.scope # => "esi-skills.read_skills.v1"
1046
1150
 
1047
- character_skills.total_sp # => 43232144
1151
+ character_skills.total_sp # => 50362576
1152
+ character_skills.unallocated_sp # => 656000
1048
1153
 
1049
- character_skills.as_json # => {:total_sp=>43232144}
1154
+ character_skills.as_json # => {:total_sp=>50362576, :unallocated_sp=>656000}
1050
1155
 
1051
- character_skills.skills.size # => 180
1156
+ character_skills.skills.size # => 179
1052
1157
 
1053
1158
  skill = character_skills.skills.first
1054
1159
 
1055
- skill.as_json # => {:skill_id=>22536, :skillpoints_in_skill=>500, :current_skill_level=>1}
1160
+ skill.as_json
1161
+ # => {:skill_id=>22536, :skillpoints_in_skill=>500, :trained_skill_level=>1, :active_skill_level=>0}
1056
1162
 
1057
1163
  skill.skill_id # => 22536
1058
1164
  skill.skillpoints_in_skill # => 500
1059
- skill.current_skill_level # => 1
1165
+ skill.trained_skill_level # => 1
1166
+ skill.active_skill_level # => 0
1060
1167
  ```
1061
1168
 
1062
1169
  #### Sovereignty
@@ -1249,8 +1356,6 @@ race.alliance_id # => 500002
1249
1356
 
1250
1357
  ##### Get a character's wallet balance
1251
1358
 
1252
- ##### Get character wallet journal
1253
-
1254
1359
  ```ruby
1255
1360
  options = { token: 'token123', character_id: 90729314 }
1256
1361
 
@@ -1263,6 +1368,8 @@ character_wallet.as_json # => {:wallet=>409488252.49}
1263
1368
  character_wallet.wallet # => 409488252.49
1264
1369
  ```
1265
1370
 
1371
+ ##### Get character wallet journal
1372
+
1266
1373
  ##### Get wallet transactions
1267
1374
 
1268
1375
  ##### Returns a corporation's wallet balance
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
25
25
  spec.add_development_dependency 'rspec-its'
26
26
  spec.add_development_dependency 'simplecov'
27
27
 
28
- spec.add_runtime_dependency 'activesupport', '>= 3.0.0'
28
+ spec.add_runtime_dependency 'activesupport', '>= 4.2.0'
29
29
  spec.add_runtime_dependency 'faraday'
30
30
  spec.add_runtime_dependency 'json'
31
31
  spec.add_runtime_dependency 'memoist'
@@ -0,0 +1,5 @@
1
+ source 'https://rubygems.org'
2
+
3
+ gem 'activesupport', '~> 5.2.0.beta2'
4
+
5
+ gemspec :path => '../'
@@ -43,9 +43,13 @@ require 'eve_online/esi/character_implants'
43
43
  require 'eve_online/esi/character_blueprints'
44
44
  require 'eve_online/esi/character_standings'
45
45
  require 'eve_online/esi/character_fatigue'
46
+ require 'eve_online/esi/character_online'
47
+
48
+ require 'eve_online/esi/market_history'
46
49
 
47
50
  require 'eve_online/esi/corporation'
48
51
  require 'eve_online/esi/corporation_industry_jobs'
52
+ require 'eve_online/esi/corporation_blueprints'
49
53
 
50
54
  require 'eve_online/esi/alliance'
51
55
  require 'eve_online/esi/alliance_icon'
@@ -63,6 +67,7 @@ require 'eve_online/esi/models/loyalty_point'
63
67
  require 'eve_online/esi/models/skill_queue_entry'
64
68
  require 'eve_online/esi/models/skill'
65
69
  require 'eve_online/esi/models/asset'
70
+ require 'eve_online/esi/models/online'
66
71
  require 'eve_online/esi/models/attributes'
67
72
  require 'eve_online/esi/models/character'
68
73
  require 'eve_online/esi/models/industry_job'
@@ -74,6 +79,8 @@ require 'eve_online/esi/models/jump_clone'
74
79
  require 'eve_online/esi/models/home_location'
75
80
  require 'eve_online/esi/models/server_status'
76
81
 
82
+ require 'eve_online/esi/models/market_history'
83
+
77
84
  require 'eve_online/esi/models/corporation'
78
85
 
79
86
  require 'eve_online/esi/models/alliance'
@@ -5,7 +5,7 @@ module EveOnline
5
5
  class Alliance < Base
6
6
  extend Forwardable
7
7
 
8
- API_ENDPOINT = 'https://esi.tech.ccp.is/v2/alliances/%s/?datasource=tranquility'.freeze
8
+ API_ENDPOINT = 'https://esi.tech.ccp.is/v3/alliances/%<alliance_id>s/?datasource=tranquility'.freeze
9
9
 
10
10
  attr_reader :alliance_id
11
11
 
@@ -15,8 +15,9 @@ module EveOnline
15
15
  @alliance_id = options[:alliance_id]
16
16
  end
17
17
 
18
- def_delegators :model, :as_json, :alliance_name,
19
- :ticker, :date_founded, :executor_corp
18
+ def_delegators :model, :as_json, :name, :ticker, :creator_id,
19
+ :creator_corporation_id, :executor_corporation_id,
20
+ :date_founded, :faction_id
20
21
 
21
22
  def model
22
23
  Models::Alliance.new(response)
@@ -26,7 +27,7 @@ module EveOnline
26
27
  def scope; end
27
28
 
28
29
  def url
29
- API_ENDPOINT % alliance_id
30
+ format(API_ENDPOINT, alliance_id: alliance_id)
30
31
  end
31
32
  end
32
33
  end